Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | OOo Contact connection to Evolution is loosing accented characters | ||||||
---|---|---|---|---|---|---|---|
Product: | Base | Reporter: | lsafar <lsafar> | ||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||
Status: | CONFIRMED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, mkretzschmar | ||||
Version: | OOo 1.1.1RC | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux, all | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
lsafar
2004-03-24 16:09:38 UTC
hi, I can reproduce this. msc -> windly: the evolution-addressbook-export export the values correct, so I believe it's the OOo driver. Bye Marc Cah you please attachment the exported file? Created attachment 14143 [details]
Output of: evolution-addressbook-export --format=csv --output=addresses.csv
I've attached some output where the characters appear as well. It looks like the main problem is that UTF-8 gets escaped during export, there are two character expected in name "á" and "ý". I've used perl oneliner to unescape output and it works OK - output is an unicode text, import as such to OOo works OK. evolution-addressbook-export --format=csv | perl -pe 's/\\([0-7]{1,3})/chr oct "$1"/ge' Would it be possible to unescape automatically during import? This was already mentioned in bug 20958 I believe that octal-escaping utf-8-encoded unicode is wrong, so I wrote a patch for evolution last October to not do that. At that time I was thinking that http://bugzilla.ximian.com/show_bug.cgi?id=49519 might be handled reasonably fast. Unfortunately it wasn't. At this point of the evolution 1.4 product lifetime (and as the db connection for evolution 1.5/2.0 is almost done AFAIK), it's probably better to add the unescaping code on the OOo side. working transfer targeting Reset the assignee to the default "issues@openoffice.apache.org". |