Re: [gdome]Encoding question - please help me



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





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