6.0.0-git
2019-03-19

[#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 2007-06-03 (4307 days ago)
Due
Updated 2007-08-31 (4218 days ago)
Assigned 2007-06-04 (4306 days ago)
Resolved 2007-06-19 (4291 days ago)
Milestone
Patch No

History
2007-08-31 14:44:44 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 ?
2007-06-19 07:21:16 Jan Schneider Comment #12
State ⇒ Resolved
Reply to this comment
Merged to 2.1.6.
2007-06-19 06:27:58 roti (at) al (dot) pmmf (dot) hu Comment #11 Reply to this comment
It's working now perfectly!



Thanx
2007-06-19 01:37:31 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.
2007-06-18 17:59:48 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.
2007-06-15 21:29:51 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?
2007-06-15 20:54:20 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.
2007-06-15 20:34:50 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?
2007-06-04 07:24:19 Jan Schneider Deleted Original Message
 
2007-06-04 06:38:29 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
2007-06-04 04:39:06 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?
2007-06-03 20:41:50 roti (at) al (dot) pmmf (dot) hu Comment #3
New Attachment: pic03.jpg Download
Reply to this comment
pic03.jpg
2007-06-03 20:41:12 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
2007-06-03 20:39:08 roti (at) al (dot) pmmf (dot) hu Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ Charset problem with attendees coming from freebusy
Queue ⇒ Kronolith
New Attachment: pic01.jpg Download
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