Re: [Evolution] Converting Contacts with ISO-Latin-1 chars



Well, with my "script" the adress book seems correct, Evo imports it but
misses some chars where there are accentuated letters. Shoudn't be too hard
to fix, I guess.

Xav

Le 2001.03.08 16:25:54 +0100, George Farris a écrit :
Yup it's a quick hack but it worked for me on two different machines.  I
do think the importer could be a little more robust but hey.... this is
pre beta after all.

I'm using the latest evolution snapshot for redhat-6.2 so if you have an
older version try updating.

On 08 Mar 2001 10:51:46 +0100, Xavier Bestel wrote:
OK, thanks Georges, I didn't know the db file contained just indexed
vcards
... the problem with your solution is that it chops happily accentued
chars. I did that script which generates a good GnomeCard file:

under the shell (this is on 1 line only):

db_dump185 ~/evolution/local/Contacts/addressbook.db|grep ^$(echo -n
BEGIN|xxd -p)|xxd -p -r|tr -d \\0 |grep -v ^UID |iconv -f utf8 -t
iso-8859-1 |tr \\n \\377 |tr '[:cntrl:]' ' '|tr \\377 \\n >adb.gcrd

But when I import it under Evolution, that doesn't work. It seems the
Evo
importer is broken (because GnomeCard shows the accentuated chars
perfectly).

Does anybody have a better idea ? (perhaps tranforming all lines into
QUOTED-PRINTABLE, but this seems overkill)

Xav






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]