Re: [xml] Newbie encoding question



Wow.  That's quite some email you've got there...

On Wed, 2003-01-22 at 18:50, Berg, Erik wrote:
[image]
[image][image][image]

I have an xml file that does not have its encoding set.  This file
contains the © character which cause xmlParseFile API not to run.

I would like to change the the default "UTF-8" encoding to
"ISO-8859-1" in code.  I tried playing with the xmlAddEncodingAlias()
API but that did seem to do what I what I though it was going to do.
 
What is the proper way to change or set the the default encoding in
libxml2.
 
thanks
 
erik
[image][image]
Erik Berg
divine, inc.
direct: 630.799.9681
fax: 630.799.7517
erik berg divine com
[image]





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