[sync] Charset problems when syncing SE W880i calendar
Karsten Fourmont
fourmont at gmx.de
Tue Aug 21 21:00:44 UTC 2007
Hi,
> BEGIN:VCALENDAR
> VERSION:1.0
> DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Laget av Bj=F8rn
...
> BEGIN:VCARD
> VERSION:2.1
> N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:X;Bj=C3=B8rn
wow, two different charsets in the same message, very strange indeed.
But this hints in the direction that iso-8559-1 is the default when
using quoted printable for the old non rfc VCALENDAR1.0 format.
I put an according patch into cvs (iCalendar module).
Please give it a try.
Cheers,
Karsten
Bjørn Mork wrote:
> Bjørn Mork <bjorn at mork.no> writes:
>
>> But I can reproduce the error and send you the resulting files.
>
> I just understood why this isn't a problem for phone book entries after
> inspecting /tmp/sync/data.txt when syncronising both calendar and phone
> book. The vcards are coded in UTF-8 and have the proper CHARSET
> parameter, while the calendar entries are coded in ISO-8859-1 and
> obviously assume this is the default when unspecified (isn't it?):
>
> input received from client (text/calendar)
> BEGIN:VCALENDAR
> VERSION:1.0
> BEGIN:VEVENT
> DTSTART:20070821T110000Z
> DTEND:20070821T113000Z
> DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Laget av Bj=F8rn
> SUMMARY;ENCODING=QUOTED-PRINTABLE:Test =F8 test
> LOCATION;ENCODING=QUOTED-PRINTABLE:P=E5 B=F8
> DALARM:20070821T104500Z
> AALARM:20070821T104500Z
> LAST-MODIFIED:20070821T104016Z
> X-SONYERICSSON-DST:4
> X-IRMC-LUID:000000000059
> END:VEVENT
> END:VCALENDAR
>
>
> input received from client (text/x-vcard)
> BEGIN:VCARD
> VERSION:2.1
> N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:X;Bj=C3=B8rn
> FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:Bj=C3=B8rn X
> ADR;WORK;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;;S=C3=B8rli;Bod=C3=B8;;;
> X-IRMC-LUID:0002000000BD
> END:VCARD
>
>
> I've attached the syncml_log.txt and the wbxml file containing these two
> entries. Neither have been anonymised. Please do so before forwarding
> to any public list. Thanks
>
>
>
> Bjørn
>
>
More information about the sync
mailing list