[xml] character encodings



 

Looking for advice, this isn’t a libxml problem per se.

 

Running a program on Linux that uses libxml2. It emits a block of XML which gets handed to an oracle package. The oracle package emits another block of XML back to my program.

 

Beginning in Oracle 10g, the XML emitted by Oracle is encoded in the database’s native charset, which if it’s running on Windows, means it is in “windows-1252” encoding. There doesn’t appear to be any (working) way to have Oracle change the char encoding.

 

If My program is running on linux, this is fine as iconv on linux knows about encoding “windows-1252”. If my program is running on AIX 5.2L, it is NOT fine, as the iconv on AIX appears to not know about that charset.

 

Has anyone else here had to deal with this (or similar) problem? If so can you offer advice on the best way to deal with it? (creating a custom iconv handler for aix looks to be a pain in the rear, and I’d love to avoid the necessity).

 

Thanks!

 

Fred

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error, please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.


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