Encoding
"Alex Barros" <[email protected]> Fri, 13 Feb 2004 17:50:35 -0600
| Newsgroups | gmane.comp.gnome.gdome |
|---|---|
| Organization | QA Technologies |
| Message-ID | <[email protected]> |
Ok, that worked, I've used isolat1ToUTF8 to do that. Thanks a lot, Alex Hi Alex, On Thu, 2004-02-12 at 18:05, Alex Barros wrote: > I am trying to use the gdome_di_saveDocToFileEnc with the ISO-8859-1 > encoding. My data does have western european chars, like ö and ä. When > I run my app, I get an "output conversion failed due to conv error" > and it doesn't save my file.Am I doing something wrong ? Can someone > give me a hint ? please bear in mind that any string communicated to/from gdome2 must be/is encoded in utf8. This is the same choice done for libxml2. I suspect you've created a string of ISO8859-1 characters, and since this is an 8-bit encoding you've just passed that string to gdome2. If my guess is wrong try to post a small code fragment that we can run. Cheers. //Luca