Menu

#26 Palm-Plugin: Umlaut problem Palm->Evolution fixed

open-fixed
nobody
None
5
2004-11-08
2004-11-05
No

Hi,

at first thanks for this software. I'm testing it since
yesterday and it seems to be the perfect replacement
for the Evolution Palm conduits, which I had very much
trouble with.
I'm using multisync to sync my Palm Vx (a great piece
of obsolete hardware, I really like it) and Evolution
1.4 (downgraded from 2.0) under Debian unstable+testing.

Syncing worked perfectly from the very beginning.
However, I immediately noticed (when initially
resyncing my Palm data to the freshly installed Evo)
that all my umlaut characters were screwed to something
like " 03 66" when syncing Calendar and ToDo from Palm
to Evo. The other direction, from Evo to Palm, works
wonderfully and Evo's umlauts are correctly displayed
at the Palm. The Addressbook always works. After some
examining, I discovered that g_strescape() is
responsible for that misbehaviour:
The problem is that g_strescape() converts any byte
from 0x80 until 0xff to an escaped octal value, which
Evo cannot parse this way. E.g., the letter 'ö' ends up
as " 03 66" in Evo.

I fixed this problem by replacing all g_strescape()
call by a strescape() call in
plugins/palm_sync/src/vcard.c. This routine then calls
g_strescape() with all charaters 0x7f..0xff as
exception string.

This is very trivial, but works perfectly and fixes
this issue for Calendar and ToDo data. Addressbook
already worked before.

I don't know if my fix is a clean way. Maybe an own
strescape() routine would be smarter than calling
g_strescape() with that many exceptions. Please tell my
if you are interested in the patch or want to
reimplement the few lines on your own.

Anyway, I'd really like to have this patch in the next
version of multisync, as without it Palm<->Evo
synchronisation for people using umlauts is impossible.

Thanks for your interest,
Mark Hämmerling

Discussion

  • Mark Hämmerling

    • status: open --> open-fixed
     
  • Martin Loeffler

    Martin Loeffler - 2005-08-15

    Logged In: YES
    user_id=818117

    I got as well an Umlaut problem. My K700i got a few Names
    with a Umlaut ( ) in its Address Book. The offending
    Entries are only transfered up to the Umlaut. Nothing else
    (no phone numbers). A change of the to an oe solved the
    problem but hopefully it can be solved in a better way.

     

Log in to post a comment.

MongoDB Logo MongoDB