RESOLVED: Re: [Evolution] evolution-address-export output format



V Po, 29. 03. 2004 v 11:22, Not Zed píše:
That would be utf-8 encoded unicode.

You'll have to use iconv(1) if you want to change it to other character
sets (if the tool doesn't have a charset option).

Thanks for the info! I knew it was some kind of utf-8. However, the
biggest problem on my side was that the output was in *escaped* utf-8.

A complete command line to get contact list out of Evo would be then
(works for me):

evolution-addressbook-export --format=csv | perl -pe
's/\\([0-7]{1,3})/chr oct "$1"/ge' | iconv -f UTF-8 -t ISO8859-2

You can convert to whatever you want via iconv - output from perl
oneliner will be clear UTF-8.

Maybe everyone knows such as tricks, just sending in case someone is in
same trouble as me :-).

-- 
Regards,
Ludek






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