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 |