Re: [xml] Question about parameter "encoding"



On Fri, 2003-12-19 at 02:12, Wei Chen wrote:
I see in many functions have the parameter (const char
* encoding) 
This specifies the encoding to be used when conducting the specific
operation. Internally, libxml2 uses UTF-8, so use of other encodings
requires conversion. For example, xmlNodeDumpOutput[1] can dump a node
into a buffer in another encoding by specifying other than UTF-8 with
the encoding variable.

More discussion of encoding issues:

http://www.xmlsoft.org/encoding.html
http://www.xmlsoft.org/tutorial/ar01s09.html


Cheers,
John

[1]
file:///home/jfleck/cvs/libxml2/doc/html/libxml-tree.html#xmlNodeDumpOutput






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