6.0.0-beta1
7/4/25

[#5427] Charset problem with attendees coming from freebusy
Summary Charset problem with attendees coming from freebusy
Queue Kronolith
Queue Version 2.1.5
Type Bug
State Resolved
Priority 2. Medium
Owners chuck (at) horde (dot) org
Requester roti (at) al (dot) pmmf (dot) hu
Created 06/03/2007 (6606 days ago)
Due
Updated 08/31/2007 (6517 days ago)
Assigned 06/04/2007 (6605 days ago)
Resolved 06/19/2007 (6590 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/31/2007 02:44:44 PM martin (dot) holzer (at) wienerlinien (dot) at Comment #13 Reply to this comment
Merged to 2.1.6.
is there any chance to get this backported to debian stable packages ?



when i only merge the diff between kronolith/ics.php 1.15 and 1.16 it 
works just a few times or some time (about 5 minutes).



any suggestions ?
06/19/2007 07:21:16 AM Jan Schneider Comment #12
State ⇒ Resolved
Reply to this comment
Merged to 2.1.6.
06/19/2007 06:27:58 AM roti (at) al (dot) pmmf (dot) hu Comment #11 Reply to this comment
It's working now perfectly!



Thanx
06/19/2007 01:37:31 AM Chuck Hagenbuch Comment #10
Assigned to Chuck Hagenbuch
Reply to this comment
Okay, I was able to reproduce this, and this change fixes it for me:

http://cvs.horde.org/diff.php?r1=1.38&r2=1.39&f=kronolith%2Ffb.php



The really important part seems to be the NLS::setCharset call at the 
top. Please test and let me know if it works for you, and thank you 
very much for all of the information gathering you did for this.
06/18/2007 05:59:48 PM roti (at) al (dot) pmmf (dot) hu Comment #9 Reply to this comment
I tested it, and the free/busy vfb file is definitely in latin2 encoding:



$ iconv -f UTF-8 -t ISO-8859-2 ./roti.vfb

BEGIN:VCALENDAR

VERSION:2.0

PRODID:-//The Horde Project//Kronolith H3 (2.1.5)//EN

METHOD:PUBLISH

BEGIN:VFREEBUSY

ORGANIZER;CN=Hrotkiconv: illegal input sequence at position 136



$ iconv -t UTF-8 -f ISO-8859-2 ./roti.vfb

BEGIN:VCALENDAR

VERSION:2.0

PRODID:-//The Horde Project//Kronolith H3 (2.1.5)//EN

METHOD:PUBLISH

BEGIN:VFREEBUSY

ORGANIZER;CN=Hrotkó Gábor:mailto:roti@al.pmmf.hu

DTSTAMP:20070618T172949Z

DTSTART:20070617T220000Z

DTEND:20070717T220000Z

URL:https://myserver/myhordepath/kronolith/fb.php?u=roti

FREEBUSY:20070701T220000Z/20070706T220000Z

END:VFREEBUSY

END:VCALENDAR



using the latter iconv transformed file in kronolith gives good result.

So kronolith should transform the generated free/busy vfb file to utf-8.
06/15/2007 09:29:51 PM Chuck Hagenbuch Comment #8 Reply to this comment
Can you view your free/busy file directly (in a browser)? Is the 
character encoding correct there? Can you test Kronolith's reading 
with a static file that you know has the right encoding?
06/15/2007 08:54:20 PM roti (at) al (dot) pmmf (dot) hu Comment #7 Reply to this comment
Horde generates my free/busy file. It has UTF-8 encoding.

But when I want to use it in kronolith, the accent marked characters 
are wrong.

They are I think in latin2, because when I switch the encoding of the 
page to latin2, those characters are good.
06/15/2007 08:34:50 PM Chuck Hagenbuch Comment #6 Reply to this comment
So, is Kronolith generating your free/busy file, or does it come from 
somewhere else? If Kronolith is generating it, is the generated file 
wrong, or is the reading of the file wrong? If Kronolith isn't 
generating it, are you sure that the file is in the right character set?
06/04/2007 07:24:19 AM Jan Schneider Deleted Original Message
 
06/04/2007 06:38:29 AM roti (at) al (dot) pmmf (dot) hu Comment #5 Reply to this comment
pic01.jpg - is the default behaviour, when I add myself as an attendee

pic02.jpg - forget it

pic03.jpg - changing the character encoding of the page to iso-8859-2 
in the browser
06/04/2007 04:39:06 AM Jan Schneider Comment #4
State ⇒ Feedback
Reply to this comment
I don't follow at all. Which line comes from which source and which 
screenshot has been taken under which circumstances?
06/03/2007 08:41:50 PM roti (at) al (dot) pmmf (dot) hu Comment #3
New Attachment: pic03.jpg Download
Reply to this comment
pic03.jpg
06/03/2007 08:41:12 PM roti (at) al (dot) pmmf (dot) hu Comment #2
New Attachment: pic02.jpg
Reply to this comment
sorry, I couldn't write accent marked characters to the bugreport [it 
is a bug too :-) ]

attaching the jpg-s may give it clear
06/03/2007 08:39:08 PM roti (at) al (dot) pmmf (dot) hu Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Charset problem with attendees coming from freebusy
Queue ⇒ Kronolith
New Attachment: pic01.jpg Download
State ⇒ Unconfirmed
Reply to this comment
Hi!



I use horde webmail 1.0. My kronolith/docs/CHANGES has the version: 
v2.1.5-cvs.

My problem:

I have my freebusy url with horde, which gives me the correct dates. 
It contains my real name: Hrotkó Gábor. I have myself as a person in 
my addressbook, including my freebusy link.

When I use myself as an attendee, kronolith will give my name with 
wrong encoding, came from freebusy.

pic01.jpg - browser with auto encoding (utf-8)

"Szükséges résztvevők" means required attendees

pic03.jpg - changing the page encoding to ISO-8859-2, will give the 
correct characters

(I use opera browser)



[NOTE: I could not repruduce this, only once:

At pic02.jpg:

- it is ok to have Ăł for ó, and ĂĄ for á, but:

- the strange thing is: the ďż˝ in my name(second 
attendee), is both for ó and á . And it is like the utf BOM character 
... ]



I couldn't figure out a solution ...





Roti

Saved Queries