From: Emanoil K. <del...@ya...> - 2011-01-10 11:51:03
|
Hi, Graham, --- On Mon, 1/10/11, Graham Cobb <g+o...@co...> wrote: > From: Graham Cobb <g+o...@co...> > Michael Bell wrote: > > The handling of the character set must be fixed > because of some > > requirements of Android. They use UTF-16 without a > default encoding. > > Nothing to do with OpenSync... Does anyone know if Android > has a facility to > export vCard/vCalendar files? And, if so, whether > those are in UTF-16 as well? I do not agree fully here with you. OpenSync has a general problem with charsets as visible from the tickets I've opened recently. And if I would do some more testing I would open more tickets on this subject. > > If so, I would like to make sure they can be imported into > GPE (this is direct > import of the file, not using OpenSync). There is an > analogous problem as the > RFC's do not specify charsets (requiring that the > containing transport > specifies the charset) -- but when passing text files > around, there is no way to > specify the charset. So GPE applies a heuristic to > guess! you can use any type of convertor/editor to get the desired results ;-) > > If anyone could send me a vCard and/or vCalendar file > exported by Android (and > containing non-ASCII characters, for example in names or > addresses) it would > be appreciated. > unfortunately I have only symbian and older phones and can not speak for android. I have noticed something strange in this conjunction. On the phone I can not use i.e. cyryllic or greek input chars (the phone is with german setup - nokia 5530), but I can sync data written in cyrillic (UTF-8) with the phone. Unfortunately I have no successfull test with opensync 0.40 so far Another issue (also not libwbxml) related (as I reported earlier libwbxml seem to be working fine for contacts and calendar incl. todo and notes) is that some fields are in quted printable or base64 encoded, which breaks OpenSync (merge/sync etc) and I have a mess up with contacts having such data - I think I have opened tickets realted to this in opensync. regards |