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 |
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 ?
State ⇒ Resolved
Thanx
Assigned to Chuck Hagenbuch
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.
$ 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.
character encoding correct there? Can you test Kronolith's reading
with a static file that you know has the right 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.
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?
pic02.jpg - forget it
pic03.jpg - changing the character encoding of the page to iso-8859-2
in the browser
State ⇒ Feedback
screenshot has been taken under which circumstances?
New Attachment: pic03.jpg
New Attachment: pic02.jpg
is a bug too :-) ]
attaching the jpg-s may give it clear
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Charset problem with attendees coming from freebusy
Queue ⇒ Kronolith
New Attachment: pic01.jpg
State ⇒ Unconfirmed
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