blob: e3ab8066c2b23d18236e15bae85b242e630de027 [file] [log] [blame]
Daniel Veillardaeea04f2000-01-25 19:27:27 +00001<HTML
2><HEAD
3><TITLE
4>encoding</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard539638b2002-07-06 19:55:14 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
Daniel Veillard60087f32001-10-10 09:45:09 +00008"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
16TITLE="parserInternals"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-parserinternals.html"><LINK
Daniel Veillardaeea04f2000-01-25 19:27:27 +000018REL="NEXT"
Daniel Veillard52dcab32001-10-30 12:51:17 +000019TITLE="hash"
20HREF="libxml-hash.html"></HEAD
Daniel Veillardaeea04f2000-01-25 19:27:27 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-parserinternals.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000106HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000120NAME="LIBXML-ENCODING"
121></A
122>encoding</H1
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000126NAME="AEN26624"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>encoding&nbsp;--&nbsp;</DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000134NAME="AEN26627"
Daniel Veillardaec63562003-03-23 20:42:17 +0000135></A
136><H2
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000151>xmlCharEncoding</A
152>;
153int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-encoding.html#XMLCHARENCODINGINPUTFUNC"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000155>*xmlCharEncodingInputFunc</A
156>) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000157 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000158 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000159 int *inlen);
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000160int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-encoding.html#XMLCHARENCODINGOUTPUTFUNC"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000162>*xmlCharEncodingOutputFunc</A
163>) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000164 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000165 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000166 int *inlen);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000169>xmlCharEncodingHandler</A
170>;
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000171typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000173>xmlCharEncodingHandlerPtr</A
174>;
175void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-encoding.html#XMLINITCHARENCODINGHANDLERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000177>xmlInitCharEncodingHandlers</A
178> (void);
179void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-encoding.html#XMLCLEANUPCHARENCODINGHANDLERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000181>xmlCleanupCharEncodingHandlers</A
182> (void);
183void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-encoding.html#XMLREGISTERCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000185>xmlRegisterCharEncodingHandler</A
186> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000187HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000188>xmlCharEncodingHandlerPtr</A
189> handler);
190<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000191HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000192>xmlCharEncodingHandlerPtr</A
193> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-encoding.html#XMLGETCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000195>xmlGetCharEncodingHandler</A
196>
197 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000198HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000199>xmlCharEncoding</A
200> enc);
201<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000202HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000203>xmlCharEncodingHandlerPtr</A
204> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000205HREF="libxml-encoding.html#XMLFINDCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000206>xmlFindCharEncodingHandler</A
207>
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000208 (const char *name);
Daniel Veillard2ace1952002-09-26 12:28:02 +0000209<A
210HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
211>xmlCharEncodingHandlerPtr</A
212> <A
213HREF="libxml-encoding.html#XMLNEWCHARENCODINGHANDLER"
214>xmlNewCharEncodingHandler</A
215>
216 (const char *name,
217 <A
218HREF="libxml-encoding.html#XMLCHARENCODINGINPUTFUNC"
219>xmlCharEncodingInputFunc</A
220> input,
221 <A
222HREF="libxml-encoding.html#XMLCHARENCODINGOUTPUTFUNC"
223>xmlCharEncodingOutputFunc</A
224> output);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000225int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-encoding.html#XMLADDENCODINGALIAS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000227>xmlAddEncodingAlias</A
228> (const char *name,
229 const char *alias);
230int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000231HREF="libxml-encoding.html#XMLDELENCODINGALIAS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000232>xmlDelEncodingAlias</A
233> (const char *alias);
234const char* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000235HREF="libxml-encoding.html#XMLGETENCODINGALIAS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000236>xmlGetEncodingAlias</A
237> (const char *alias);
238void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-encoding.html#XMLCLEANUPENCODINGALIASES"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000240>xmlCleanupEncodingAliases</A
241> (void);
242<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000243HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000244>xmlCharEncoding</A
245> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-encoding.html#XMLPARSECHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000247>xmlParseCharEncoding</A
248> (const char *name);
249const char* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-encoding.html#XMLGETCHARENCODINGNAME"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000251>xmlGetCharEncodingName</A
252> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000253HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000254>xmlCharEncoding</A
255> enc);
256<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000257HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000258>xmlCharEncoding</A
259> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000260HREF="libxml-encoding.html#XMLDETECTCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000261>xmlDetectCharEncoding</A
262> (unsigned char *in,
263 int len);
264int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000265HREF="libxml-encoding.html#XMLCHARENCOUTFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000266>xmlCharEncOutFunc</A
267> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000268HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000269>xmlCharEncodingHandler</A
270> *handler,
271 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000272HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000273>xmlBufferPtr</A
274> out,
275 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000277>xmlBufferPtr</A
278> in);
279int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000280HREF="libxml-encoding.html#XMLCHARENCINFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000281>xmlCharEncInFunc</A
282> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000284>xmlCharEncodingHandler</A
285> *handler,
286 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000288>xmlBufferPtr</A
289> out,
290 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000292>xmlBufferPtr</A
293> in);
294int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-encoding.html#XMLCHARENCFIRSTLINE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000296>xmlCharEncFirstLine</A
297> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000298HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000299>xmlCharEncodingHandler</A
300> *handler,
301 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303>xmlBufferPtr</A
304> out,
305 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000306HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000307>xmlBufferPtr</A
308> in);
309int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-encoding.html#XMLCHARENCCLOSEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000311>xmlCharEncCloseFunc</A
312> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000313HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000314>xmlCharEncodingHandler</A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000315> *handler);
316int <A
317HREF="libxml-encoding.html#UTF8TOISOLAT1"
318>UTF8Toisolat1</A
319> (unsigned char *out,
320 int *outlen,
321 unsigned char *in,
322 int *inlen);
323int <A
324HREF="libxml-encoding.html#ISOLAT1TOUTF8"
325>isolat1ToUTF8</A
326> (unsigned char *out,
327 int *outlen,
328 unsigned char *in,
329 int *inlen);
330int <A
Daniel Veillardaec63562003-03-23 20:42:17 +0000331HREF="libxml-encoding.html#XMLGETUTF8CHAR"
332>xmlGetUTF8Char</A
333> (unsigned char *utf,
334 int *len);
335int <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000336HREF="libxml-encoding.html#XMLCHECKUTF8"
337>xmlCheckUTF8</A
338> (unsigned char *utf);
339int <A
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000340HREF="libxml-encoding.html#XMLUTF8STRSIZE"
341>xmlUTF8Strsize</A
342> (const <A
343HREF="libxml-tree.html#XMLCHAR"
344>xmlChar</A
345> *utf,
346 int len);
347<A
348HREF="libxml-tree.html#XMLCHAR"
349>xmlChar</A
350>* <A
351HREF="libxml-encoding.html#XMLUTF8STRNDUP"
352>xmlUTF8Strndup</A
353> (const <A
354HREF="libxml-tree.html#XMLCHAR"
355>xmlChar</A
356> *utf,
357 int len);
358<A
359HREF="libxml-tree.html#XMLCHAR"
360>xmlChar</A
361>* <A
362HREF="libxml-encoding.html#XMLUTF8STRPOS"
363>xmlUTF8Strpos</A
364> (const <A
365HREF="libxml-tree.html#XMLCHAR"
366>xmlChar</A
367> *utf,
368 int pos);
369int <A
370HREF="libxml-encoding.html#XMLUTF8STRLOC"
371>xmlUTF8Strloc</A
372> (const <A
373HREF="libxml-tree.html#XMLCHAR"
374>xmlChar</A
375> *utf,
376 const <A
377HREF="libxml-tree.html#XMLCHAR"
378>xmlChar</A
379> *utfchar);
380<A
381HREF="libxml-tree.html#XMLCHAR"
382>xmlChar</A
383>* <A
384HREF="libxml-encoding.html#XMLUTF8STRSUB"
385>xmlUTF8Strsub</A
386> (const <A
387HREF="libxml-tree.html#XMLCHAR"
388>xmlChar</A
389> *utf,
390 int start,
391 int len);
392int <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000393HREF="libxml-encoding.html#XMLUTF8STRLEN"
394>xmlUTF8Strlen</A
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000395> (const <A
396HREF="libxml-tree.html#XMLCHAR"
397>xmlChar</A
398> *utf);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000399></TD
400></TR
401></TABLE
402></DIV
403><DIV
404CLASS="REFSECT1"
405><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000406NAME="AEN26692"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000407></A
408><H2
409>Description</H2
410><P
411></P
412></DIV
413><DIV
414CLASS="REFSECT1"
415><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000416NAME="AEN26695"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000417></A
418><H2
419>Details</H2
420><DIV
421CLASS="REFSECT2"
422><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000423NAME="AEN26697"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000424></A
425><H3
426><A
427NAME="XMLCHARENCODING"
428></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000429>enum xmlCharEncoding</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000430><TABLE
431BORDER="0"
432BGCOLOR="#D6E8FF"
433WIDTH="100%"
434CELLPADDING="6"
435><TR
436><TD
437><PRE
438CLASS="PROGRAMLISTING"
439>typedef enum {
440 XML_CHAR_ENCODING_ERROR= -1, /* No char encoding detected */
441 XML_CHAR_ENCODING_NONE= 0, /* No char encoding detected */
442 XML_CHAR_ENCODING_UTF8= 1, /* UTF-8 */
443 XML_CHAR_ENCODING_UTF16LE= 2, /* UTF-16 little endian */
444 XML_CHAR_ENCODING_UTF16BE= 3, /* UTF-16 big endian */
445 XML_CHAR_ENCODING_UCS4LE= 4, /* UCS-4 little endian */
446 XML_CHAR_ENCODING_UCS4BE= 5, /* UCS-4 big endian */
447 XML_CHAR_ENCODING_EBCDIC= 6, /* EBCDIC uh! */
448 XML_CHAR_ENCODING_UCS4_2143=7, /* UCS-4 unusual ordering */
449 XML_CHAR_ENCODING_UCS4_3412=8, /* UCS-4 unusual ordering */
450 XML_CHAR_ENCODING_UCS2= 9, /* UCS-2 */
451 XML_CHAR_ENCODING_8859_1= 10,/* ISO-8859-1 ISO Latin 1 */
452 XML_CHAR_ENCODING_8859_2= 11,/* ISO-8859-2 ISO Latin 2 */
453 XML_CHAR_ENCODING_8859_3= 12,/* ISO-8859-3 */
454 XML_CHAR_ENCODING_8859_4= 13,/* ISO-8859-4 */
455 XML_CHAR_ENCODING_8859_5= 14,/* ISO-8859-5 */
456 XML_CHAR_ENCODING_8859_6= 15,/* ISO-8859-6 */
457 XML_CHAR_ENCODING_8859_7= 16,/* ISO-8859-7 */
458 XML_CHAR_ENCODING_8859_8= 17,/* ISO-8859-8 */
459 XML_CHAR_ENCODING_8859_9= 18,/* ISO-8859-9 */
460 XML_CHAR_ENCODING_2022_JP= 19,/* ISO-2022-JP */
461 XML_CHAR_ENCODING_SHIFT_JIS=20,/* Shift_JIS */
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000462 XML_CHAR_ENCODING_EUC_JP= 21,/* EUC-JP */
463 XML_CHAR_ENCODING_ASCII= 22 /* pure ASCII */
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000464} xmlCharEncoding;</PRE
465></TD
466></TR
467></TABLE
468><P
Daniel Veillard19274092002-03-25 16:48:03 +0000469>Predefined values for some standard encodings.
470Libxml don't do beforehand translation on UTF8, ISOLatinX.
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000471It also support UTF16 (LE and BE) by default.</P
472><P
473>Anything else would have to be translated to UTF8 before being
474given to the parser itself. The BOM for UTF16 and the encoding
475declaration are looked at and a converter is looked for at that
476point. If not found the parser stops here as asked by the XML REC
477Converter can be registered by the user using xmlRegisterCharEncodingHandler
Daniel Veillardcbaf3992001-12-31 16:16:02 +0000478but the current form doesn't allow stateful transcoding (a serious
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000479problem agreed !). If iconv has been found it will be used
480automatically and allow stateful transcoding, the simplest is then
481to be sure to enable icon and to provide iconv libs for the encoding
482support needed.</P
483><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000484></P
485></DIV
486><HR><DIV
487CLASS="REFSECT2"
488><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000489NAME="AEN26704"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000490></A
491><H3
492><A
493NAME="XMLCHARENCODINGINPUTFUNC"
494></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000495>xmlCharEncodingInputFunc ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000496><TABLE
497BORDER="0"
498BGCOLOR="#D6E8FF"
499WIDTH="100%"
500CELLPADDING="6"
501><TR
502><TD
503><PRE
504CLASS="PROGRAMLISTING"
505>int (*xmlCharEncodingInputFunc) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000506 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000507 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000508 int *inlen);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000509></TD
510></TR
511></TABLE
512><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000513>Take a block of chars in the original encoding and try to convert
514it to an UTF-8 block of chars out.</P
515><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000516></P
517><DIV
518CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000519><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000520NAME="AEN26710"
Daniel Veillardaec63562003-03-23 20:42:17 +0000521></A
522><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000523></P
524><TABLE
525BORDER="0"
526WIDTH="100%"
527BGCOLOR="#FFD0D0"
528CELLSPACING="0"
529CELLPADDING="4"
530CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000531><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000532><TR
533><TD
534WIDTH="20%"
535ALIGN="RIGHT"
536VALIGN="TOP"
537><TT
538CLASS="PARAMETER"
539><I
540>out</I
541></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000542>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000543><TD
544WIDTH="80%"
545ALIGN="LEFT"
546VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000547>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000548></TR
549><TR
550><TD
551WIDTH="20%"
552ALIGN="RIGHT"
553VALIGN="TOP"
554><TT
555CLASS="PARAMETER"
556><I
557>outlen</I
558></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000559>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000560><TD
561WIDTH="80%"
562ALIGN="LEFT"
563VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000564>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000565></TR
566><TR
567><TD
568WIDTH="20%"
569ALIGN="RIGHT"
570VALIGN="TOP"
571><TT
572CLASS="PARAMETER"
573><I
574>in</I
575></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000576>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000577><TD
578WIDTH="80%"
579ALIGN="LEFT"
580VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000581>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000582></TR
583><TR
584><TD
585WIDTH="20%"
586ALIGN="RIGHT"
587VALIGN="TOP"
588><TT
589CLASS="PARAMETER"
590><I
591>inlen</I
592></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000593>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000594><TD
595WIDTH="80%"
596ALIGN="LEFT"
597VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000598>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000599></TR
600><TR
601><TD
602WIDTH="20%"
603ALIGN="RIGHT"
604VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +0000605><SPAN
606CLASS="emphasis"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000607><I
608CLASS="EMPHASIS"
609>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +0000610></SPAN
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000611> :</TD
612><TD
613WIDTH="80%"
614ALIGN="LEFT"
615VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000616>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000617></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000618></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000619></TABLE
620><P
621></P
622></DIV
623></DIV
624><HR><DIV
625CLASS="REFSECT2"
626><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000627NAME="AEN26735"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000628></A
629><H3
630><A
631NAME="XMLCHARENCODINGOUTPUTFUNC"
632></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000633>xmlCharEncodingOutputFunc ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000634><TABLE
635BORDER="0"
636BGCOLOR="#D6E8FF"
637WIDTH="100%"
638CELLPADDING="6"
639><TR
640><TD
641><PRE
642CLASS="PROGRAMLISTING"
643>int (*xmlCharEncodingOutputFunc) (unsigned char *out,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000644 int *outlen,
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000645 unsigned char *in,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000646 int *inlen);</PRE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000647></TD
648></TR
649></TABLE
650><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000651>Take a block of UTF-8 chars in and try to convert it to an other
652encoding.
653Note: a first call designed to produce heading info is called with
Daniel Veillard19274092002-03-25 16:48:03 +0000654in = NULL. If stateful this should also initialize the encoder state.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000655><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000656></P
657><DIV
658CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000659><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000660NAME="AEN26741"
Daniel Veillardaec63562003-03-23 20:42:17 +0000661></A
662><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000663></P
664><TABLE
665BORDER="0"
666WIDTH="100%"
667BGCOLOR="#FFD0D0"
668CELLSPACING="0"
669CELLPADDING="4"
670CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000671><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000672><TR
673><TD
674WIDTH="20%"
675ALIGN="RIGHT"
676VALIGN="TOP"
677><TT
678CLASS="PARAMETER"
679><I
680>out</I
681></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000682>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000683><TD
684WIDTH="80%"
685ALIGN="LEFT"
686VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000687>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000688></TR
689><TR
690><TD
691WIDTH="20%"
692ALIGN="RIGHT"
693VALIGN="TOP"
694><TT
695CLASS="PARAMETER"
696><I
697>outlen</I
698></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000699>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000700><TD
701WIDTH="80%"
702ALIGN="LEFT"
703VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000704>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000705></TR
706><TR
707><TD
708WIDTH="20%"
709ALIGN="RIGHT"
710VALIGN="TOP"
711><TT
712CLASS="PARAMETER"
713><I
714>in</I
715></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000716>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000717><TD
718WIDTH="80%"
719ALIGN="LEFT"
720VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000721>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000722></TR
723><TR
724><TD
725WIDTH="20%"
726ALIGN="RIGHT"
727VALIGN="TOP"
728><TT
729CLASS="PARAMETER"
730><I
731>inlen</I
732></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000733>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000734><TD
735WIDTH="80%"
736ALIGN="LEFT"
737VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000738>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000739></TR
740><TR
741><TD
742WIDTH="20%"
743ALIGN="RIGHT"
744VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +0000745><SPAN
746CLASS="emphasis"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000747><I
748CLASS="EMPHASIS"
749>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +0000750></SPAN
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000751> :</TD
752><TD
753WIDTH="80%"
754ALIGN="LEFT"
755VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000756>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000757></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000758></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000759></TABLE
760><P
761></P
762></DIV
763></DIV
764><HR><DIV
765CLASS="REFSECT2"
766><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000767NAME="AEN26766"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000768></A
769><H3
770><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000771NAME="XMLCHARENCODINGHANDLER"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000772></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000773>struct xmlCharEncodingHandler</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000774><TABLE
775BORDER="0"
776BGCOLOR="#D6E8FF"
777WIDTH="100%"
778CELLPADDING="6"
779><TR
780><TD
781><PRE
782CLASS="PROGRAMLISTING"
783>struct xmlCharEncodingHandler {
784 char *name;
785 xmlCharEncodingInputFunc input;
786 xmlCharEncodingOutputFunc output;
787#ifdef LIBXML_ICONV_ENABLED
788 iconv_t iconv_in;
789 iconv_t iconv_out;
790#endif /* LIBXML_ICONV_ENABLED */
791};</PRE
792></TD
793></TR
794></TABLE
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000795><P
796></P
797></DIV
798><HR><DIV
799CLASS="REFSECT2"
800><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000801NAME="AEN26771"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000802></A
803><H3
804><A
805NAME="XMLCHARENCODINGHANDLERPTR"
806></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000807>xmlCharEncodingHandlerPtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000808><P
809></P
810></DIV
811><HR><DIV
812CLASS="REFSECT2"
813><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000814NAME="AEN26775"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000815></A
816><H3
817><A
818NAME="XMLINITCHARENCODINGHANDLERS"
819></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000820>xmlInitCharEncodingHandlers ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000821><TABLE
822BORDER="0"
823BGCOLOR="#D6E8FF"
824WIDTH="100%"
825CELLPADDING="6"
826><TR
827><TD
828><PRE
829CLASS="PROGRAMLISTING"
830>void xmlInitCharEncodingHandlers (void);</PRE
831></TD
832></TR
833></TABLE
834><P
835>Initialize the char encoding support, it registers the default
836encoding supported.
837NOTE: while public, this function usually doesn't need to be called
Daniel Veillardaec63562003-03-23 20:42:17 +0000838 in normal processing.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000839><P
840></P
841></DIV
842><HR><DIV
843CLASS="REFSECT2"
844><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000845NAME="AEN26781"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000846></A
847><H3
848><A
849NAME="XMLCLEANUPCHARENCODINGHANDLERS"
850></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000851>xmlCleanupCharEncodingHandlers ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000852><TABLE
853BORDER="0"
854BGCOLOR="#D6E8FF"
855WIDTH="100%"
856CELLPADDING="6"
857><TR
858><TD
859><PRE
860CLASS="PROGRAMLISTING"
861>void xmlCleanupCharEncodingHandlers (void);</PRE
862></TD
863></TR
864></TABLE
865><P
866>Cleanup the memory allocated for the char encoding support, it
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000867unregisters all the encoding handlers and the aliases.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000868><P
869></P
870></DIV
871><HR><DIV
872CLASS="REFSECT2"
873><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000874NAME="AEN26787"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000875></A
876><H3
877><A
878NAME="XMLREGISTERCHARENCODINGHANDLER"
879></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000880>xmlRegisterCharEncodingHandler ()</H3
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000881><TABLE
882BORDER="0"
883BGCOLOR="#D6E8FF"
884WIDTH="100%"
885CELLPADDING="6"
886><TR
887><TD
888><PRE
889CLASS="PROGRAMLISTING"
890>void xmlRegisterCharEncodingHandler (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000891HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000892>xmlCharEncodingHandlerPtr</A
893> handler);</PRE
894></TD
895></TR
896></TABLE
897><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +0000898>Register the char encoding handler, surprising, isn't it ?</P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000899><P
900></P
901><DIV
902CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000903><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000904NAME="AEN26794"
Daniel Veillardaec63562003-03-23 20:42:17 +0000905></A
906><P
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000907></P
908><TABLE
909BORDER="0"
910WIDTH="100%"
911BGCOLOR="#FFD0D0"
912CELLSPACING="0"
913CELLPADDING="4"
914CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000915><TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000916><TR
917><TD
918WIDTH="20%"
919ALIGN="RIGHT"
920VALIGN="TOP"
921><TT
922CLASS="PARAMETER"
923><I
924>handler</I
925></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000926>&nbsp;:</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000927><TD
928WIDTH="80%"
929ALIGN="LEFT"
930VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000931>&nbsp;</TD
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000932></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000933></TBODY
Daniel Veillardaeea04f2000-01-25 19:27:27 +0000934></TABLE
935><P
936></P
937></DIV
938></DIV
939><HR><DIV
940CLASS="REFSECT2"
941><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000942NAME="AEN26803"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000943></A
944><H3
945><A
946NAME="XMLGETCHARENCODINGHANDLER"
947></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000948>xmlGetCharEncodingHandler ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000949><TABLE
950BORDER="0"
951BGCOLOR="#D6E8FF"
952WIDTH="100%"
953CELLPADDING="6"
954><TR
955><TD
956><PRE
957CLASS="PROGRAMLISTING"
958><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000960>xmlCharEncodingHandlerPtr</A
961> xmlGetCharEncodingHandler
962 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000963HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000964>xmlCharEncoding</A
965> enc);</PRE
966></TD
967></TR
968></TABLE
969><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +0000970>Search in the registered set the handler able to read/write that encoding.</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000971><P
972></P
973><DIV
974CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000975><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +0000976NAME="AEN26811"
Daniel Veillardaec63562003-03-23 20:42:17 +0000977></A
978><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000979></P
980><TABLE
981BORDER="0"
982WIDTH="100%"
983BGCOLOR="#FFD0D0"
984CELLSPACING="0"
985CELLPADDING="4"
986CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000987><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000988><TR
989><TD
990WIDTH="20%"
991ALIGN="RIGHT"
992VALIGN="TOP"
993><TT
994CLASS="PARAMETER"
995><I
996>enc</I
997></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000998>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000999><TD
1000WIDTH="80%"
1001ALIGN="LEFT"
1002VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001003>&nbsp;</TD
Daniel Veillardf012a642001-07-23 19:10:52 +00001004></TR
1005><TR
1006><TD
1007WIDTH="20%"
1008ALIGN="RIGHT"
1009VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001010><SPAN
1011CLASS="emphasis"
Daniel Veillardf012a642001-07-23 19:10:52 +00001012><I
1013CLASS="EMPHASIS"
1014>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001015></SPAN
Daniel Veillardf012a642001-07-23 19:10:52 +00001016> :</TD
1017><TD
1018WIDTH="80%"
1019ALIGN="LEFT"
1020VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001021>&nbsp;</TD
Daniel Veillardf012a642001-07-23 19:10:52 +00001022></TR
1023></TBODY
1024></TABLE
1025><P
1026></P
1027></DIV
1028></DIV
1029><HR><DIV
1030CLASS="REFSECT2"
1031><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001032NAME="AEN26824"
Daniel Veillardf012a642001-07-23 19:10:52 +00001033></A
1034><H3
1035><A
1036NAME="XMLFINDCHARENCODINGHANDLER"
1037></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001038>xmlFindCharEncodingHandler ()</H3
Daniel Veillardf012a642001-07-23 19:10:52 +00001039><TABLE
1040BORDER="0"
1041BGCOLOR="#D6E8FF"
1042WIDTH="100%"
1043CELLPADDING="6"
1044><TR
1045><TD
1046><PRE
1047CLASS="PROGRAMLISTING"
1048><A
1049HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
1050>xmlCharEncodingHandlerPtr</A
1051> xmlFindCharEncodingHandler
1052 (const char *name);</PRE
1053></TD
1054></TR
1055></TABLE
1056><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001057>Search in the registered set the handler able to read/write that encoding.</P
Daniel Veillardf012a642001-07-23 19:10:52 +00001058><P
1059></P
1060><DIV
1061CLASS="INFORMALTABLE"
1062><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001063NAME="AEN26831"
Daniel Veillardaec63562003-03-23 20:42:17 +00001064></A
1065><P
Daniel Veillardf012a642001-07-23 19:10:52 +00001066></P
1067><TABLE
1068BORDER="0"
1069WIDTH="100%"
1070BGCOLOR="#FFD0D0"
1071CELLSPACING="0"
1072CELLPADDING="4"
1073CLASS="CALSTABLE"
1074><TBODY
1075><TR
1076><TD
1077WIDTH="20%"
1078ALIGN="RIGHT"
1079VALIGN="TOP"
1080><TT
1081CLASS="PARAMETER"
1082><I
1083>name</I
1084></TT
1085>&nbsp;:</TD
1086><TD
1087WIDTH="80%"
1088ALIGN="LEFT"
1089VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001090>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001091></TR
1092><TR
1093><TD
1094WIDTH="20%"
1095ALIGN="RIGHT"
1096VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001097><SPAN
1098CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001099><I
1100CLASS="EMPHASIS"
1101>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001102></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001103> :</TD
1104><TD
1105WIDTH="80%"
1106ALIGN="LEFT"
1107VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001108>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001109></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001110></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001111></TABLE
1112><P
1113></P
1114></DIV
1115></DIV
1116><HR><DIV
1117CLASS="REFSECT2"
1118><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001119NAME="AEN26844"
Daniel Veillard2ace1952002-09-26 12:28:02 +00001120></A
1121><H3
1122><A
1123NAME="XMLNEWCHARENCODINGHANDLER"
1124></A
1125>xmlNewCharEncodingHandler ()</H3
1126><TABLE
1127BORDER="0"
1128BGCOLOR="#D6E8FF"
1129WIDTH="100%"
1130CELLPADDING="6"
1131><TR
1132><TD
1133><PRE
1134CLASS="PROGRAMLISTING"
1135><A
1136HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
1137>xmlCharEncodingHandlerPtr</A
1138> xmlNewCharEncodingHandler
1139 (const char *name,
1140 <A
1141HREF="libxml-encoding.html#XMLCHARENCODINGINPUTFUNC"
1142>xmlCharEncodingInputFunc</A
1143> input,
1144 <A
1145HREF="libxml-encoding.html#XMLCHARENCODINGOUTPUTFUNC"
1146>xmlCharEncodingOutputFunc</A
1147> output);</PRE
1148></TD
1149></TR
1150></TABLE
1151><P
1152>Create and registers an xmlCharEncodingHandler.</P
1153><P
1154></P
1155><DIV
1156CLASS="INFORMALTABLE"
1157><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001158NAME="AEN26853"
Daniel Veillardaec63562003-03-23 20:42:17 +00001159></A
1160><P
Daniel Veillard2ace1952002-09-26 12:28:02 +00001161></P
1162><TABLE
1163BORDER="0"
1164WIDTH="100%"
1165BGCOLOR="#FFD0D0"
1166CELLSPACING="0"
1167CELLPADDING="4"
1168CLASS="CALSTABLE"
1169><TBODY
1170><TR
1171><TD
1172WIDTH="20%"
1173ALIGN="RIGHT"
1174VALIGN="TOP"
1175><TT
1176CLASS="PARAMETER"
1177><I
1178>name</I
1179></TT
1180>&nbsp;:</TD
1181><TD
1182WIDTH="80%"
1183ALIGN="LEFT"
1184VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001185>&nbsp;</TD
Daniel Veillard2ace1952002-09-26 12:28:02 +00001186></TR
1187><TR
1188><TD
1189WIDTH="20%"
1190ALIGN="RIGHT"
1191VALIGN="TOP"
1192><TT
1193CLASS="PARAMETER"
1194><I
1195>input</I
1196></TT
1197>&nbsp;:</TD
1198><TD
1199WIDTH="80%"
1200ALIGN="LEFT"
1201VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001202>&nbsp;</TD
Daniel Veillard2ace1952002-09-26 12:28:02 +00001203></TR
1204><TR
1205><TD
1206WIDTH="20%"
1207ALIGN="RIGHT"
1208VALIGN="TOP"
1209><TT
1210CLASS="PARAMETER"
1211><I
1212>output</I
1213></TT
1214>&nbsp;:</TD
1215><TD
1216WIDTH="80%"
1217ALIGN="LEFT"
1218VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001219>&nbsp;</TD
Daniel Veillard2ace1952002-09-26 12:28:02 +00001220></TR
1221><TR
1222><TD
1223WIDTH="20%"
1224ALIGN="RIGHT"
1225VALIGN="TOP"
1226><SPAN
1227CLASS="emphasis"
1228><I
1229CLASS="EMPHASIS"
1230>Returns</I
1231></SPAN
1232> :</TD
1233><TD
1234WIDTH="80%"
1235ALIGN="LEFT"
1236VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001237>&nbsp;</TD
Daniel Veillard2ace1952002-09-26 12:28:02 +00001238></TR
1239></TBODY
1240></TABLE
1241><P
1242></P
1243></DIV
1244></DIV
1245><HR><DIV
1246CLASS="REFSECT2"
1247><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001248NAME="AEN26874"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001249></A
1250><H3
1251><A
1252NAME="XMLADDENCODINGALIAS"
1253></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001254>xmlAddEncodingAlias ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001255><TABLE
1256BORDER="0"
1257BGCOLOR="#D6E8FF"
1258WIDTH="100%"
1259CELLPADDING="6"
1260><TR
1261><TD
1262><PRE
1263CLASS="PROGRAMLISTING"
1264>int xmlAddEncodingAlias (const char *name,
1265 const char *alias);</PRE
1266></TD
1267></TR
1268></TABLE
1269><P
1270>Registers and alias <TT
1271CLASS="PARAMETER"
1272><I
1273>alias</I
1274></TT
1275> for an encoding named <TT
1276CLASS="PARAMETER"
1277><I
1278>name</I
1279></TT
1280>. Existing alias
1281will be overwritten.</P
1282><P
1283></P
1284><DIV
1285CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001286><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001287NAME="AEN26882"
Daniel Veillardaec63562003-03-23 20:42:17 +00001288></A
1289><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001290></P
1291><TABLE
1292BORDER="0"
1293WIDTH="100%"
1294BGCOLOR="#FFD0D0"
1295CELLSPACING="0"
1296CELLPADDING="4"
1297CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001298><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001299><TR
1300><TD
1301WIDTH="20%"
1302ALIGN="RIGHT"
1303VALIGN="TOP"
1304><TT
1305CLASS="PARAMETER"
1306><I
1307>name</I
1308></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001309>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001310><TD
1311WIDTH="80%"
1312ALIGN="LEFT"
1313VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001314>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001315></TR
1316><TR
1317><TD
1318WIDTH="20%"
1319ALIGN="RIGHT"
1320VALIGN="TOP"
1321><TT
1322CLASS="PARAMETER"
1323><I
1324>alias</I
1325></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001326>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001327><TD
1328WIDTH="80%"
1329ALIGN="LEFT"
1330VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001331>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001332></TR
1333><TR
1334><TD
1335WIDTH="20%"
1336ALIGN="RIGHT"
1337VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001338><SPAN
1339CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001340><I
1341CLASS="EMPHASIS"
1342>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001343></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001344> :</TD
1345><TD
1346WIDTH="80%"
1347ALIGN="LEFT"
1348VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001349>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001350></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001351></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001352></TABLE
1353><P
1354></P
1355></DIV
1356></DIV
1357><HR><DIV
1358CLASS="REFSECT2"
1359><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001360NAME="AEN26899"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001361></A
1362><H3
1363><A
1364NAME="XMLDELENCODINGALIAS"
1365></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001366>xmlDelEncodingAlias ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001367><TABLE
1368BORDER="0"
1369BGCOLOR="#D6E8FF"
1370WIDTH="100%"
1371CELLPADDING="6"
1372><TR
1373><TD
1374><PRE
1375CLASS="PROGRAMLISTING"
1376>int xmlDelEncodingAlias (const char *alias);</PRE
1377></TD
1378></TR
1379></TABLE
1380><P
1381>Unregisters an encoding alias <TT
1382CLASS="PARAMETER"
1383><I
1384>alias</I
1385></TT
1386></P
1387><P
1388></P
1389><DIV
1390CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001391><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001392NAME="AEN26906"
Daniel Veillardaec63562003-03-23 20:42:17 +00001393></A
1394><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001395></P
1396><TABLE
1397BORDER="0"
1398WIDTH="100%"
1399BGCOLOR="#FFD0D0"
1400CELLSPACING="0"
1401CELLPADDING="4"
1402CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001403><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001404><TR
1405><TD
1406WIDTH="20%"
1407ALIGN="RIGHT"
1408VALIGN="TOP"
1409><TT
1410CLASS="PARAMETER"
1411><I
1412>alias</I
1413></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001414>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001415><TD
1416WIDTH="80%"
1417ALIGN="LEFT"
1418VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001419>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001420></TR
1421><TR
1422><TD
1423WIDTH="20%"
1424ALIGN="RIGHT"
1425VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001426><SPAN
1427CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001428><I
1429CLASS="EMPHASIS"
1430>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001431></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001432> :</TD
1433><TD
1434WIDTH="80%"
1435ALIGN="LEFT"
1436VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001437>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001438></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001439></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001440></TABLE
1441><P
1442></P
1443></DIV
1444></DIV
1445><HR><DIV
1446CLASS="REFSECT2"
1447><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001448NAME="AEN26919"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001449></A
1450><H3
1451><A
1452NAME="XMLGETENCODINGALIAS"
1453></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001454>xmlGetEncodingAlias ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001455><TABLE
1456BORDER="0"
1457BGCOLOR="#D6E8FF"
1458WIDTH="100%"
1459CELLPADDING="6"
1460><TR
1461><TD
1462><PRE
1463CLASS="PROGRAMLISTING"
1464>const char* xmlGetEncodingAlias (const char *alias);</PRE
1465></TD
1466></TR
1467></TABLE
1468><P
1469>Lookup an encoding name for the given alias.</P
1470><P
1471></P
1472><DIV
1473CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001474><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001475NAME="AEN26925"
Daniel Veillardaec63562003-03-23 20:42:17 +00001476></A
1477><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001478></P
1479><TABLE
1480BORDER="0"
1481WIDTH="100%"
1482BGCOLOR="#FFD0D0"
1483CELLSPACING="0"
1484CELLPADDING="4"
1485CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001486><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001487><TR
1488><TD
1489WIDTH="20%"
1490ALIGN="RIGHT"
1491VALIGN="TOP"
1492><TT
1493CLASS="PARAMETER"
1494><I
1495>alias</I
1496></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001497>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001498><TD
1499WIDTH="80%"
1500ALIGN="LEFT"
1501VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001502>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001503></TR
1504><TR
1505><TD
1506WIDTH="20%"
1507ALIGN="RIGHT"
1508VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001509><SPAN
1510CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001511><I
1512CLASS="EMPHASIS"
1513>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001514></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001515> :</TD
1516><TD
1517WIDTH="80%"
1518ALIGN="LEFT"
1519VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001520>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001521></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001522></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001523></TABLE
1524><P
1525></P
1526></DIV
1527></DIV
1528><HR><DIV
1529CLASS="REFSECT2"
1530><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001531NAME="AEN26938"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001532></A
1533><H3
1534><A
1535NAME="XMLCLEANUPENCODINGALIASES"
1536></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001537>xmlCleanupEncodingAliases ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001538><TABLE
1539BORDER="0"
1540BGCOLOR="#D6E8FF"
1541WIDTH="100%"
1542CELLPADDING="6"
1543><TR
1544><TD
1545><PRE
1546CLASS="PROGRAMLISTING"
1547>void xmlCleanupEncodingAliases (void);</PRE
1548></TD
1549></TR
1550></TABLE
1551><P
1552>Unregisters all aliases</P
1553><P
1554></P
1555></DIV
1556><HR><DIV
1557CLASS="REFSECT2"
1558><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001559NAME="AEN26944"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001560></A
1561><H3
1562><A
1563NAME="XMLPARSECHARENCODING"
1564></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001565>xmlParseCharEncoding ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001566><TABLE
1567BORDER="0"
1568BGCOLOR="#D6E8FF"
1569WIDTH="100%"
1570CELLPADDING="6"
1571><TR
1572><TD
1573><PRE
1574CLASS="PROGRAMLISTING"
1575><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001576HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001577>xmlCharEncoding</A
1578> xmlParseCharEncoding (const char *name);</PRE
1579></TD
1580></TR
1581></TABLE
1582><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001583>Compare the string to the known encoding schemes already known. Note
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001584that the comparison is case insensitive accordingly to the section
1585[XML] 4.3.3 Character Encoding in Entities.</P
1586><P
1587></P
1588><DIV
1589CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001590><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001591NAME="AEN26951"
Daniel Veillardaec63562003-03-23 20:42:17 +00001592></A
1593><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001594></P
1595><TABLE
1596BORDER="0"
1597WIDTH="100%"
1598BGCOLOR="#FFD0D0"
1599CELLSPACING="0"
1600CELLPADDING="4"
1601CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001602><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001603><TR
1604><TD
1605WIDTH="20%"
1606ALIGN="RIGHT"
1607VALIGN="TOP"
1608><TT
1609CLASS="PARAMETER"
1610><I
1611>name</I
1612></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001613>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001614><TD
1615WIDTH="80%"
1616ALIGN="LEFT"
1617VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001618>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001619></TR
1620><TR
1621><TD
1622WIDTH="20%"
1623ALIGN="RIGHT"
1624VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001625><SPAN
1626CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001627><I
1628CLASS="EMPHASIS"
1629>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001630></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001631> :</TD
1632><TD
1633WIDTH="80%"
1634ALIGN="LEFT"
1635VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001636>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001637></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001638></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001639></TABLE
1640><P
1641></P
1642></DIV
1643></DIV
1644><HR><DIV
1645CLASS="REFSECT2"
1646><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001647NAME="AEN26964"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001648></A
1649><H3
1650><A
1651NAME="XMLGETCHARENCODINGNAME"
1652></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001653>xmlGetCharEncodingName ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001654><TABLE
1655BORDER="0"
1656BGCOLOR="#D6E8FF"
1657WIDTH="100%"
1658CELLPADDING="6"
1659><TR
1660><TD
1661><PRE
1662CLASS="PROGRAMLISTING"
1663>const char* xmlGetCharEncodingName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001664HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001665>xmlCharEncoding</A
1666> enc);</PRE
1667></TD
1668></TR
1669></TABLE
1670><P
1671>The "canonical" name for XML encoding.
1672C.f. http://www.w3.org/TR/REC-xml<GTKDOCLINK
1673HREF="CHARENCODING"
1674>charencoding</GTKDOCLINK
1675>
1676Section 4.3.3 Character Encoding in Entities</P
1677><P
1678></P
1679><DIV
1680CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001681><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001682NAME="AEN26972"
Daniel Veillardaec63562003-03-23 20:42:17 +00001683></A
1684><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001685></P
1686><TABLE
1687BORDER="0"
1688WIDTH="100%"
1689BGCOLOR="#FFD0D0"
1690CELLSPACING="0"
1691CELLPADDING="4"
1692CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001693><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001694><TR
1695><TD
1696WIDTH="20%"
1697ALIGN="RIGHT"
1698VALIGN="TOP"
1699><TT
1700CLASS="PARAMETER"
1701><I
1702>enc</I
1703></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001704>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001705><TD
1706WIDTH="80%"
1707ALIGN="LEFT"
1708VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001709>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001710></TR
1711><TR
1712><TD
1713WIDTH="20%"
1714ALIGN="RIGHT"
1715VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001716><SPAN
1717CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001718><I
1719CLASS="EMPHASIS"
1720>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001721></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001722> :</TD
1723><TD
1724WIDTH="80%"
1725ALIGN="LEFT"
1726VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001727>&nbsp;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001728></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001729></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001730></TABLE
1731><P
1732></P
1733></DIV
1734></DIV
1735><HR><DIV
1736CLASS="REFSECT2"
1737><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001738NAME="AEN26985"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001739></A
1740><H3
1741><A
1742NAME="XMLDETECTCHARENCODING"
1743></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001744>xmlDetectCharEncoding ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001745><TABLE
1746BORDER="0"
1747BGCOLOR="#D6E8FF"
1748WIDTH="100%"
1749CELLPADDING="6"
1750><TR
1751><TD
1752><PRE
1753CLASS="PROGRAMLISTING"
1754><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001755HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001756>xmlCharEncoding</A
1757> xmlDetectCharEncoding (unsigned char *in,
1758 int len);</PRE
1759></TD
1760></TR
1761></TABLE
1762><P
1763>Guess the encoding of the entity using the first bytes of the entity content
1764accordingly of the non-normative appendix F of the XML-1.0 recommendation.</P
1765><P
1766></P
1767><DIV
1768CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001769><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001770NAME="AEN26992"
Daniel Veillardaec63562003-03-23 20:42:17 +00001771></A
1772><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001773></P
1774><TABLE
1775BORDER="0"
1776WIDTH="100%"
1777BGCOLOR="#FFD0D0"
1778CELLSPACING="0"
1779CELLPADDING="4"
1780CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001781><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001782><TR
1783><TD
1784WIDTH="20%"
1785ALIGN="RIGHT"
1786VALIGN="TOP"
1787><TT
1788CLASS="PARAMETER"
1789><I
1790>in</I
1791></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001792>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001793><TD
1794WIDTH="80%"
1795ALIGN="LEFT"
1796VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001797>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001798></TR
1799><TR
1800><TD
1801WIDTH="20%"
1802ALIGN="RIGHT"
1803VALIGN="TOP"
1804><TT
1805CLASS="PARAMETER"
1806><I
1807>len</I
1808></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001809>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001810><TD
1811WIDTH="80%"
1812ALIGN="LEFT"
1813VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001814>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001815></TR
1816><TR
1817><TD
1818WIDTH="20%"
1819ALIGN="RIGHT"
1820VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001821><SPAN
1822CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001823><I
1824CLASS="EMPHASIS"
1825>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001826></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001827> :</TD
1828><TD
1829WIDTH="80%"
1830ALIGN="LEFT"
1831VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001832>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001833></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001834></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001835></TABLE
1836><P
1837></P
1838></DIV
1839></DIV
1840><HR><DIV
1841CLASS="REFSECT2"
1842><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001843NAME="AEN27009"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001844></A
1845><H3
1846><A
1847NAME="XMLCHARENCOUTFUNC"
1848></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001849>xmlCharEncOutFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001850><TABLE
1851BORDER="0"
1852BGCOLOR="#D6E8FF"
1853WIDTH="100%"
1854CELLPADDING="6"
1855><TR
1856><TD
1857><PRE
1858CLASS="PROGRAMLISTING"
1859>int xmlCharEncOutFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001860HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001861>xmlCharEncodingHandler</A
1862> *handler,
1863 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001864HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001865>xmlBufferPtr</A
1866> out,
1867 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001868HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001869>xmlBufferPtr</A
1870> in);</PRE
1871></TD
1872></TR
1873></TABLE
1874><P
1875>Generic front-end for the encoding handler output function
1876a first call with <TT
1877CLASS="PARAMETER"
1878><I
1879>in</I
1880></TT
1881> == NULL has to be made firs to initiate the
1882output in case of non-stateless encoding needing to initiate their
1883state or the output (like the BOM in UTF16).
1884In case of UTF8 sequence conversion errors for the given encoder,
1885the content will be automatically remapped to a CharRef sequence.</P
1886><P
1887></P
1888><DIV
1889CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001890><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001891NAME="AEN27019"
Daniel Veillardaec63562003-03-23 20:42:17 +00001892></A
1893><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001894></P
1895><TABLE
1896BORDER="0"
1897WIDTH="100%"
1898BGCOLOR="#FFD0D0"
1899CELLSPACING="0"
1900CELLPADDING="4"
1901CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001902><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001903><TR
1904><TD
1905WIDTH="20%"
1906ALIGN="RIGHT"
1907VALIGN="TOP"
1908><TT
1909CLASS="PARAMETER"
1910><I
1911>handler</I
1912></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001913>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001914><TD
1915WIDTH="80%"
1916ALIGN="LEFT"
1917VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001918>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001919></TR
1920><TR
1921><TD
1922WIDTH="20%"
1923ALIGN="RIGHT"
1924VALIGN="TOP"
1925><TT
1926CLASS="PARAMETER"
1927><I
1928>out</I
1929></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001930>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001931><TD
1932WIDTH="80%"
1933ALIGN="LEFT"
1934VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001935>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001936></TR
1937><TR
1938><TD
1939WIDTH="20%"
1940ALIGN="RIGHT"
1941VALIGN="TOP"
1942><TT
1943CLASS="PARAMETER"
1944><I
Daniel Veillard06047432000-04-24 11:33:38 +00001945>in</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001946></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001947>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001948><TD
1949WIDTH="80%"
1950ALIGN="LEFT"
1951VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001952>&nbsp;</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001953></TR
1954><TR
1955><TD
1956WIDTH="20%"
1957ALIGN="RIGHT"
1958VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001959><SPAN
1960CLASS="emphasis"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001961><I
1962CLASS="EMPHASIS"
1963>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001964></SPAN
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001965> :</TD
1966><TD
1967WIDTH="80%"
1968ALIGN="LEFT"
1969VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001970>&nbsp;</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001971></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001972></TBODY
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001973></TABLE
1974><P
1975></P
1976></DIV
1977></DIV
Daniel Veillard06047432000-04-24 11:33:38 +00001978><HR><DIV
1979CLASS="REFSECT2"
1980><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00001981NAME="AEN27040"
Daniel Veillard06047432000-04-24 11:33:38 +00001982></A
1983><H3
1984><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001985NAME="XMLCHARENCINFUNC"
Daniel Veillard06047432000-04-24 11:33:38 +00001986></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001987>xmlCharEncInFunc ()</H3
Daniel Veillard06047432000-04-24 11:33:38 +00001988><TABLE
1989BORDER="0"
1990BGCOLOR="#D6E8FF"
1991WIDTH="100%"
1992CELLPADDING="6"
1993><TR
1994><TD
1995><PRE
1996CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001997>int xmlCharEncInFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001998HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001999>xmlCharEncodingHandler</A
2000> *handler,
2001 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002002HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002003>xmlBufferPtr</A
2004> out,
2005 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002006HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002007>xmlBufferPtr</A
2008> in);</PRE
Daniel Veillard06047432000-04-24 11:33:38 +00002009></TD
2010></TR
2011></TABLE
2012><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002013>Generic front-end for the encoding handler input function</P
Daniel Veillard06047432000-04-24 11:33:38 +00002014><P
2015></P
2016><DIV
2017CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002018><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002019NAME="AEN27049"
Daniel Veillardaec63562003-03-23 20:42:17 +00002020></A
2021><P
Daniel Veillard06047432000-04-24 11:33:38 +00002022></P
2023><TABLE
2024BORDER="0"
2025WIDTH="100%"
2026BGCOLOR="#FFD0D0"
2027CELLSPACING="0"
2028CELLPADDING="4"
2029CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002030><TBODY
Daniel Veillard06047432000-04-24 11:33:38 +00002031><TR
2032><TD
2033WIDTH="20%"
2034ALIGN="RIGHT"
2035VALIGN="TOP"
2036><TT
2037CLASS="PARAMETER"
2038><I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002039>handler</I
Daniel Veillard06047432000-04-24 11:33:38 +00002040></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002041>&nbsp;:</TD
Daniel Veillard06047432000-04-24 11:33:38 +00002042><TD
2043WIDTH="80%"
2044ALIGN="LEFT"
2045VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002046>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002047></TR
2048><TR
2049><TD
2050WIDTH="20%"
2051ALIGN="RIGHT"
2052VALIGN="TOP"
2053><TT
2054CLASS="PARAMETER"
2055><I
2056>out</I
2057></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002058>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002059><TD
2060WIDTH="80%"
2061ALIGN="LEFT"
2062VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002063>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002064></TR
2065><TR
2066><TD
2067WIDTH="20%"
2068ALIGN="RIGHT"
2069VALIGN="TOP"
2070><TT
2071CLASS="PARAMETER"
2072><I
2073>in</I
2074></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002075>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002076><TD
2077WIDTH="80%"
2078ALIGN="LEFT"
2079VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002080>&nbsp;</TD
Daniel Veillard06047432000-04-24 11:33:38 +00002081></TR
2082><TR
2083><TD
2084WIDTH="20%"
2085ALIGN="RIGHT"
2086VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002087><SPAN
2088CLASS="emphasis"
Daniel Veillard06047432000-04-24 11:33:38 +00002089><I
2090CLASS="EMPHASIS"
2091>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002092></SPAN
Daniel Veillard06047432000-04-24 11:33:38 +00002093> :</TD
2094><TD
2095WIDTH="80%"
2096ALIGN="LEFT"
2097VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002098>&nbsp;</TD
Daniel Veillard06047432000-04-24 11:33:38 +00002099></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002100></TBODY
Daniel Veillard06047432000-04-24 11:33:38 +00002101></TABLE
2102><P
2103></P
2104></DIV
2105></DIV
2106><HR><DIV
2107CLASS="REFSECT2"
2108><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002109NAME="AEN27070"
Daniel Veillard06047432000-04-24 11:33:38 +00002110></A
2111><H3
2112><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002113NAME="XMLCHARENCFIRSTLINE"
Daniel Veillard06047432000-04-24 11:33:38 +00002114></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002115>xmlCharEncFirstLine ()</H3
Daniel Veillard06047432000-04-24 11:33:38 +00002116><TABLE
2117BORDER="0"
2118BGCOLOR="#D6E8FF"
2119WIDTH="100%"
2120CELLPADDING="6"
2121><TR
2122><TD
2123><PRE
2124CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002125>int xmlCharEncFirstLine (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002126HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002127>xmlCharEncodingHandler</A
2128> *handler,
2129 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002130HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002131>xmlBufferPtr</A
2132> out,
2133 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002134HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002135>xmlBufferPtr</A
2136> in);</PRE
Daniel Veillard06047432000-04-24 11:33:38 +00002137></TD
2138></TR
2139></TABLE
2140><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002141>Front-end for the encoding handler input function, but handle only
2142the very first line, i.e. limit itself to 45 chars.</P
Daniel Veillard06047432000-04-24 11:33:38 +00002143><P
2144></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002145><DIV
2146CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002147><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002148NAME="AEN27079"
Daniel Veillardaec63562003-03-23 20:42:17 +00002149></A
2150><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002151></P
2152><TABLE
2153BORDER="0"
2154WIDTH="100%"
2155BGCOLOR="#FFD0D0"
2156CELLSPACING="0"
2157CELLPADDING="4"
2158CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002159><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002160><TR
2161><TD
2162WIDTH="20%"
2163ALIGN="RIGHT"
2164VALIGN="TOP"
2165><TT
2166CLASS="PARAMETER"
2167><I
2168>handler</I
2169></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002170>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002171><TD
2172WIDTH="80%"
2173ALIGN="LEFT"
2174VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002175>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002176></TR
2177><TR
2178><TD
2179WIDTH="20%"
2180ALIGN="RIGHT"
2181VALIGN="TOP"
2182><TT
2183CLASS="PARAMETER"
2184><I
2185>out</I
2186></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002187>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002188><TD
2189WIDTH="80%"
2190ALIGN="LEFT"
2191VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002192>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002193></TR
2194><TR
2195><TD
2196WIDTH="20%"
2197ALIGN="RIGHT"
2198VALIGN="TOP"
2199><TT
2200CLASS="PARAMETER"
2201><I
2202>in</I
2203></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002204>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002205><TD
2206WIDTH="80%"
2207ALIGN="LEFT"
2208VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002209>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002210></TR
2211><TR
2212><TD
2213WIDTH="20%"
2214ALIGN="RIGHT"
2215VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002216><SPAN
2217CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002218><I
2219CLASS="EMPHASIS"
2220>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002221></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002222> :</TD
2223><TD
2224WIDTH="80%"
2225ALIGN="LEFT"
2226VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002227>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002228></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002229></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002230></TABLE
2231><P
2232></P
2233></DIV
2234></DIV
2235><HR><DIV
2236CLASS="REFSECT2"
2237><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002238NAME="AEN27100"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002239></A
2240><H3
2241><A
2242NAME="XMLCHARENCCLOSEFUNC"
2243></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002244>xmlCharEncCloseFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002245><TABLE
2246BORDER="0"
2247BGCOLOR="#D6E8FF"
2248WIDTH="100%"
2249CELLPADDING="6"
2250><TR
2251><TD
2252><PRE
2253CLASS="PROGRAMLISTING"
2254>int xmlCharEncCloseFunc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002255HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002256>xmlCharEncodingHandler</A
2257> *handler);</PRE
2258></TD
2259></TR
2260></TABLE
2261><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002262>Generic front-end for encoding handler close function</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002263><P
2264></P
2265><DIV
2266CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002267><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002268NAME="AEN27107"
Daniel Veillardaec63562003-03-23 20:42:17 +00002269></A
2270><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002271></P
2272><TABLE
2273BORDER="0"
2274WIDTH="100%"
2275BGCOLOR="#FFD0D0"
2276CELLSPACING="0"
2277CELLPADDING="4"
2278CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002279><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002280><TR
2281><TD
2282WIDTH="20%"
2283ALIGN="RIGHT"
2284VALIGN="TOP"
2285><TT
2286CLASS="PARAMETER"
2287><I
2288>handler</I
2289></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002290>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002291><TD
2292WIDTH="80%"
2293ALIGN="LEFT"
2294VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002295>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002296></TR
2297><TR
2298><TD
2299WIDTH="20%"
2300ALIGN="RIGHT"
2301VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002302><SPAN
2303CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002304><I
2305CLASS="EMPHASIS"
2306>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002307></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002308> :</TD
2309><TD
2310WIDTH="80%"
2311ALIGN="LEFT"
2312VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002313>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002314></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002315></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002316></TABLE
2317><P
2318></P
2319></DIV
Daniel Veillard06047432000-04-24 11:33:38 +00002320></DIV
Daniel Veillarda41123c2001-04-22 19:31:20 +00002321><HR><DIV
2322CLASS="REFSECT2"
2323><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002324NAME="AEN27120"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002325></A
2326><H3
2327><A
2328NAME="UTF8TOISOLAT1"
2329></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002330>UTF8Toisolat1 ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00002331><TABLE
2332BORDER="0"
2333BGCOLOR="#D6E8FF"
2334WIDTH="100%"
2335CELLPADDING="6"
2336><TR
2337><TD
2338><PRE
2339CLASS="PROGRAMLISTING"
2340>int UTF8Toisolat1 (unsigned char *out,
2341 int *outlen,
2342 unsigned char *in,
2343 int *inlen);</PRE
2344></TD
2345></TR
2346></TABLE
2347><P
2348>Take a block of UTF-8 chars in and try to convert it to an ISO Latin 1
2349block of chars out.</P
2350><P
2351></P
2352><DIV
2353CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002354><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002355NAME="AEN27126"
Daniel Veillardaec63562003-03-23 20:42:17 +00002356></A
2357><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00002358></P
2359><TABLE
2360BORDER="0"
2361WIDTH="100%"
2362BGCOLOR="#FFD0D0"
2363CELLSPACING="0"
2364CELLPADDING="4"
2365CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002366><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002367><TR
2368><TD
2369WIDTH="20%"
2370ALIGN="RIGHT"
2371VALIGN="TOP"
2372><TT
2373CLASS="PARAMETER"
2374><I
2375>out</I
2376></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002377>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002378><TD
2379WIDTH="80%"
2380ALIGN="LEFT"
2381VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002382>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002383></TR
2384><TR
2385><TD
2386WIDTH="20%"
2387ALIGN="RIGHT"
2388VALIGN="TOP"
2389><TT
2390CLASS="PARAMETER"
2391><I
2392>outlen</I
2393></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002394>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002395><TD
2396WIDTH="80%"
2397ALIGN="LEFT"
2398VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002399>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002400></TR
2401><TR
2402><TD
2403WIDTH="20%"
2404ALIGN="RIGHT"
2405VALIGN="TOP"
2406><TT
2407CLASS="PARAMETER"
2408><I
2409>in</I
2410></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002411>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002412><TD
2413WIDTH="80%"
2414ALIGN="LEFT"
2415VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002416>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002417></TR
2418><TR
2419><TD
2420WIDTH="20%"
2421ALIGN="RIGHT"
2422VALIGN="TOP"
2423><TT
2424CLASS="PARAMETER"
2425><I
2426>inlen</I
2427></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002428>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002429><TD
2430WIDTH="80%"
2431ALIGN="LEFT"
2432VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002433>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002434></TR
2435><TR
2436><TD
2437WIDTH="20%"
2438ALIGN="RIGHT"
2439VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002440><SPAN
2441CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002442><I
2443CLASS="EMPHASIS"
2444>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002445></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00002446> :</TD
2447><TD
2448WIDTH="80%"
2449ALIGN="LEFT"
2450VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002451>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002452></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002453></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002454></TABLE
2455><P
2456></P
2457></DIV
2458></DIV
2459><HR><DIV
2460CLASS="REFSECT2"
2461><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002462NAME="AEN27151"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002463></A
2464><H3
2465><A
2466NAME="ISOLAT1TOUTF8"
2467></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002468>isolat1ToUTF8 ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00002469><TABLE
2470BORDER="0"
2471BGCOLOR="#D6E8FF"
2472WIDTH="100%"
2473CELLPADDING="6"
2474><TR
2475><TD
2476><PRE
2477CLASS="PROGRAMLISTING"
2478>int isolat1ToUTF8 (unsigned char *out,
2479 int *outlen,
2480 unsigned char *in,
2481 int *inlen);</PRE
2482></TD
2483></TR
2484></TABLE
2485><P
2486>Take a block of ISO Latin 1 chars in and try to convert it to an UTF-8
2487block of chars out.</P
2488><P
2489></P
2490><DIV
2491CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002492><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002493NAME="AEN27157"
Daniel Veillardaec63562003-03-23 20:42:17 +00002494></A
2495><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00002496></P
2497><TABLE
2498BORDER="0"
2499WIDTH="100%"
2500BGCOLOR="#FFD0D0"
2501CELLSPACING="0"
2502CELLPADDING="4"
2503CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002504><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002505><TR
2506><TD
2507WIDTH="20%"
2508ALIGN="RIGHT"
2509VALIGN="TOP"
2510><TT
2511CLASS="PARAMETER"
2512><I
2513>out</I
2514></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002515>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002516><TD
2517WIDTH="80%"
2518ALIGN="LEFT"
2519VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002520>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002521></TR
2522><TR
2523><TD
2524WIDTH="20%"
2525ALIGN="RIGHT"
2526VALIGN="TOP"
2527><TT
2528CLASS="PARAMETER"
2529><I
2530>outlen</I
2531></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002532>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002533><TD
2534WIDTH="80%"
2535ALIGN="LEFT"
2536VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002537>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002538></TR
2539><TR
2540><TD
2541WIDTH="20%"
2542ALIGN="RIGHT"
2543VALIGN="TOP"
2544><TT
2545CLASS="PARAMETER"
2546><I
2547>in</I
2548></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002549>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002550><TD
2551WIDTH="80%"
2552ALIGN="LEFT"
2553VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002554>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002555></TR
2556><TR
2557><TD
2558WIDTH="20%"
2559ALIGN="RIGHT"
2560VALIGN="TOP"
2561><TT
2562CLASS="PARAMETER"
2563><I
2564>inlen</I
2565></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002566>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002567><TD
2568WIDTH="80%"
2569ALIGN="LEFT"
2570VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002571>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002572></TR
2573><TR
2574><TD
2575WIDTH="20%"
2576ALIGN="RIGHT"
2577VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002578><SPAN
2579CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002580><I
2581CLASS="EMPHASIS"
2582>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002583></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00002584> :</TD
2585><TD
2586WIDTH="80%"
2587ALIGN="LEFT"
2588VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002589>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002590></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002591></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002592></TABLE
2593><P
2594></P
2595></DIV
2596></DIV
2597><HR><DIV
2598CLASS="REFSECT2"
2599><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002600NAME="AEN27182"
Daniel Veillardaec63562003-03-23 20:42:17 +00002601></A
2602><H3
2603><A
2604NAME="XMLGETUTF8CHAR"
2605></A
2606>xmlGetUTF8Char ()</H3
2607><TABLE
2608BORDER="0"
2609BGCOLOR="#D6E8FF"
2610WIDTH="100%"
2611CELLPADDING="6"
2612><TR
2613><TD
2614><PRE
2615CLASS="PROGRAMLISTING"
2616>int xmlGetUTF8Char (unsigned char *utf,
2617 int *len);</PRE
2618></TD
2619></TR
2620></TABLE
2621><P
2622>Read one UTF8 Char from <TT
2623CLASS="PARAMETER"
2624><I
2625>utf</I
2626></TT
2627></P
2628><P
2629></P
2630><DIV
2631CLASS="INFORMALTABLE"
2632><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002633NAME="AEN27189"
Daniel Veillardaec63562003-03-23 20:42:17 +00002634></A
2635><P
2636></P
2637><TABLE
2638BORDER="0"
2639WIDTH="100%"
2640BGCOLOR="#FFD0D0"
2641CELLSPACING="0"
2642CELLPADDING="4"
2643CLASS="CALSTABLE"
2644><TBODY
2645><TR
2646><TD
2647WIDTH="20%"
2648ALIGN="RIGHT"
2649VALIGN="TOP"
2650><TT
2651CLASS="PARAMETER"
2652><I
2653>utf</I
2654></TT
2655>&nbsp;:</TD
2656><TD
2657WIDTH="80%"
2658ALIGN="LEFT"
2659VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002660>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00002661></TR
2662><TR
2663><TD
2664WIDTH="20%"
2665ALIGN="RIGHT"
2666VALIGN="TOP"
2667><TT
2668CLASS="PARAMETER"
2669><I
2670>len</I
2671></TT
2672>&nbsp;:</TD
2673><TD
2674WIDTH="80%"
2675ALIGN="LEFT"
2676VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002677>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00002678></TR
2679><TR
2680><TD
2681WIDTH="20%"
2682ALIGN="RIGHT"
2683VALIGN="TOP"
2684><SPAN
2685CLASS="emphasis"
2686><I
2687CLASS="EMPHASIS"
2688>Returns</I
2689></SPAN
2690> :</TD
2691><TD
2692WIDTH="80%"
2693ALIGN="LEFT"
2694VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002695>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00002696></TR
2697></TBODY
2698></TABLE
2699><P
2700></P
2701></DIV
2702></DIV
2703><HR><DIV
2704CLASS="REFSECT2"
2705><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002706NAME="AEN27206"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002707></A
2708><H3
2709><A
2710NAME="XMLCHECKUTF8"
2711></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002712>xmlCheckUTF8 ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00002713><TABLE
2714BORDER="0"
2715BGCOLOR="#D6E8FF"
2716WIDTH="100%"
2717CELLPADDING="6"
2718><TR
2719><TD
2720><PRE
2721CLASS="PROGRAMLISTING"
2722>int xmlCheckUTF8 (unsigned char *utf);</PRE
2723></TD
2724></TR
2725></TABLE
2726><P
2727>Checks <TT
2728CLASS="PARAMETER"
2729><I
2730>utf</I
2731></TT
2732> for being valid utf-8. <TT
2733CLASS="PARAMETER"
2734><I
2735>utf</I
2736></TT
2737> is assumed to be
2738null-terminated. This function is not super-strict, as it will
2739allow longer utf-8 sequences than necessary. Note that Java is
2740capable of producing these sequences if provoked. Also note, this
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002741routine checks for the 4-byte maximum size, but does not check for
Daniel Veillarda41123c2001-04-22 19:31:20 +000027420x10ffff maximum value.</P
2743><P
2744></P
2745><DIV
2746CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002747><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002748NAME="AEN27214"
Daniel Veillardaec63562003-03-23 20:42:17 +00002749></A
2750><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00002751></P
2752><TABLE
2753BORDER="0"
2754WIDTH="100%"
2755BGCOLOR="#FFD0D0"
2756CELLSPACING="0"
2757CELLPADDING="4"
2758CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002759><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002760><TR
2761><TD
2762WIDTH="20%"
2763ALIGN="RIGHT"
2764VALIGN="TOP"
2765><TT
2766CLASS="PARAMETER"
2767><I
2768>utf</I
2769></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002770>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002771><TD
2772WIDTH="80%"
2773ALIGN="LEFT"
2774VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002775>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002776></TR
2777><TR
2778><TD
2779WIDTH="20%"
2780ALIGN="RIGHT"
2781VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002782><SPAN
2783CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00002784><I
2785CLASS="EMPHASIS"
2786>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002787></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00002788> :</TD
2789><TD
2790WIDTH="80%"
2791ALIGN="LEFT"
2792VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002793>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00002794></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002795></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00002796></TABLE
2797><P
2798></P
2799></DIV
2800></DIV
2801><HR><DIV
2802CLASS="REFSECT2"
2803><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002804NAME="AEN27227"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002805></A
2806><H3
2807><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002808NAME="XMLUTF8STRSIZE"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002809></A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002810>xmlUTF8Strsize ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002811><TABLE
2812BORDER="0"
2813BGCOLOR="#D6E8FF"
2814WIDTH="100%"
2815CELLPADDING="6"
2816><TR
2817><TD
2818><PRE
2819CLASS="PROGRAMLISTING"
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002820>int xmlUTF8Strsize (const <A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002821HREF="libxml-tree.html#XMLCHAR"
2822>xmlChar</A
2823> *utf,
2824 int len);</PRE
2825></TD
2826></TR
2827></TABLE
2828><P
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002829>storage size of an UTF8 string</P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002830><P
2831></P
2832><DIV
2833CLASS="INFORMALTABLE"
2834><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002835NAME="AEN27234"
Daniel Veillardaec63562003-03-23 20:42:17 +00002836></A
2837><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002838></P
2839><TABLE
2840BORDER="0"
2841WIDTH="100%"
2842BGCOLOR="#FFD0D0"
2843CELLSPACING="0"
2844CELLPADDING="4"
2845CLASS="CALSTABLE"
2846><TBODY
2847><TR
2848><TD
2849WIDTH="20%"
2850ALIGN="RIGHT"
2851VALIGN="TOP"
2852><TT
2853CLASS="PARAMETER"
2854><I
2855>utf</I
2856></TT
2857>&nbsp;:</TD
2858><TD
2859WIDTH="80%"
2860ALIGN="LEFT"
2861VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002862>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002863></TR
2864><TR
2865><TD
2866WIDTH="20%"
2867ALIGN="RIGHT"
2868VALIGN="TOP"
2869><TT
2870CLASS="PARAMETER"
2871><I
2872>len</I
2873></TT
2874>&nbsp;:</TD
2875><TD
2876WIDTH="80%"
2877ALIGN="LEFT"
2878VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002879>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002880></TR
2881><TR
2882><TD
2883WIDTH="20%"
2884ALIGN="RIGHT"
2885VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002886><SPAN
2887CLASS="emphasis"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002888><I
2889CLASS="EMPHASIS"
2890>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002891></SPAN
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002892> :</TD
2893><TD
2894WIDTH="80%"
2895ALIGN="LEFT"
2896VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002897>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00002898></TR
2899></TBODY
2900></TABLE
2901><P
2902></P
2903></DIV
2904></DIV
2905><HR><DIV
2906CLASS="REFSECT2"
2907><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00002908NAME="AEN27251"
2909></A
2910><H3
2911><A
2912NAME="XMLUTF8STRNDUP"
2913></A
2914>xmlUTF8Strndup ()</H3
2915><TABLE
2916BORDER="0"
2917BGCOLOR="#D6E8FF"
2918WIDTH="100%"
2919CELLPADDING="6"
2920><TR
2921><TD
2922><PRE
2923CLASS="PROGRAMLISTING"
2924><A
2925HREF="libxml-tree.html#XMLCHAR"
2926>xmlChar</A
2927>* xmlUTF8Strndup (const <A
2928HREF="libxml-tree.html#XMLCHAR"
2929>xmlChar</A
2930> *utf,
2931 int len);</PRE
2932></TD
2933></TR
2934></TABLE
2935><P
2936>a strndup for array of UTF8's</P
2937><P
2938></P
2939><DIV
2940CLASS="INFORMALTABLE"
2941><A
2942NAME="AEN27259"
2943></A
2944><P
2945></P
2946><TABLE
2947BORDER="0"
2948WIDTH="100%"
2949BGCOLOR="#FFD0D0"
2950CELLSPACING="0"
2951CELLPADDING="4"
2952CLASS="CALSTABLE"
2953><TBODY
2954><TR
2955><TD
2956WIDTH="20%"
2957ALIGN="RIGHT"
2958VALIGN="TOP"
2959><TT
2960CLASS="PARAMETER"
2961><I
2962>utf</I
2963></TT
2964>&nbsp;:</TD
2965><TD
2966WIDTH="80%"
2967ALIGN="LEFT"
2968VALIGN="TOP"
2969>&nbsp;</TD
2970></TR
2971><TR
2972><TD
2973WIDTH="20%"
2974ALIGN="RIGHT"
2975VALIGN="TOP"
2976><TT
2977CLASS="PARAMETER"
2978><I
2979>len</I
2980></TT
2981>&nbsp;:</TD
2982><TD
2983WIDTH="80%"
2984ALIGN="LEFT"
2985VALIGN="TOP"
2986>&nbsp;</TD
2987></TR
2988><TR
2989><TD
2990WIDTH="20%"
2991ALIGN="RIGHT"
2992VALIGN="TOP"
2993><SPAN
2994CLASS="emphasis"
2995><I
2996CLASS="EMPHASIS"
2997>Returns</I
2998></SPAN
2999> :</TD
3000><TD
3001WIDTH="80%"
3002ALIGN="LEFT"
3003VALIGN="TOP"
3004>&nbsp;</TD
3005></TR
3006></TBODY
3007></TABLE
3008><P
3009></P
3010></DIV
3011></DIV
3012><HR><DIV
3013CLASS="REFSECT2"
3014><A
3015NAME="AEN27276"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003016></A
3017><H3
3018><A
3019NAME="XMLUTF8STRPOS"
3020></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003021>xmlUTF8Strpos ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003022><TABLE
3023BORDER="0"
3024BGCOLOR="#D6E8FF"
3025WIDTH="100%"
3026CELLPADDING="6"
3027><TR
3028><TD
3029><PRE
3030CLASS="PROGRAMLISTING"
3031><A
3032HREF="libxml-tree.html#XMLCHAR"
3033>xmlChar</A
3034>* xmlUTF8Strpos (const <A
3035HREF="libxml-tree.html#XMLCHAR"
3036>xmlChar</A
3037> *utf,
3038 int pos);</PRE
3039></TD
3040></TR
3041></TABLE
3042><P
3043>a function to provide the equivalent of fetching a
3044character from a string array</P
3045><P
3046></P
3047><DIV
3048CLASS="INFORMALTABLE"
3049><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00003050NAME="AEN27284"
Daniel Veillardaec63562003-03-23 20:42:17 +00003051></A
3052><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003053></P
3054><TABLE
3055BORDER="0"
3056WIDTH="100%"
3057BGCOLOR="#FFD0D0"
3058CELLSPACING="0"
3059CELLPADDING="4"
3060CLASS="CALSTABLE"
3061><TBODY
3062><TR
3063><TD
3064WIDTH="20%"
3065ALIGN="RIGHT"
3066VALIGN="TOP"
3067><TT
3068CLASS="PARAMETER"
3069><I
3070>utf</I
3071></TT
3072>&nbsp;:</TD
3073><TD
3074WIDTH="80%"
3075ALIGN="LEFT"
3076VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003077>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003078></TR
3079><TR
3080><TD
3081WIDTH="20%"
3082ALIGN="RIGHT"
3083VALIGN="TOP"
3084><TT
3085CLASS="PARAMETER"
3086><I
3087>pos</I
3088></TT
3089>&nbsp;:</TD
3090><TD
3091WIDTH="80%"
3092ALIGN="LEFT"
3093VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003094>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003095></TR
3096><TR
3097><TD
3098WIDTH="20%"
3099ALIGN="RIGHT"
3100VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003101><SPAN
3102CLASS="emphasis"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003103><I
3104CLASS="EMPHASIS"
3105>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003106></SPAN
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003107> :</TD
3108><TD
3109WIDTH="80%"
3110ALIGN="LEFT"
3111VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003112>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003113></TR
3114></TBODY
3115></TABLE
3116><P
3117></P
3118></DIV
3119></DIV
3120><HR><DIV
3121CLASS="REFSECT2"
3122><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00003123NAME="AEN27301"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003124></A
3125><H3
3126><A
3127NAME="XMLUTF8STRLOC"
3128></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003129>xmlUTF8Strloc ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003130><TABLE
3131BORDER="0"
3132BGCOLOR="#D6E8FF"
3133WIDTH="100%"
3134CELLPADDING="6"
3135><TR
3136><TD
3137><PRE
3138CLASS="PROGRAMLISTING"
3139>int xmlUTF8Strloc (const <A
3140HREF="libxml-tree.html#XMLCHAR"
3141>xmlChar</A
3142> *utf,
3143 const <A
3144HREF="libxml-tree.html#XMLCHAR"
3145>xmlChar</A
3146> *utfchar);</PRE
3147></TD
3148></TR
3149></TABLE
3150><P
3151>a function to provide relative location of a UTF8 char</P
3152><P
3153></P
3154><DIV
3155CLASS="INFORMALTABLE"
3156><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00003157NAME="AEN27309"
Daniel Veillardaec63562003-03-23 20:42:17 +00003158></A
3159><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003160></P
3161><TABLE
3162BORDER="0"
3163WIDTH="100%"
3164BGCOLOR="#FFD0D0"
3165CELLSPACING="0"
3166CELLPADDING="4"
3167CLASS="CALSTABLE"
3168><TBODY
3169><TR
3170><TD
3171WIDTH="20%"
3172ALIGN="RIGHT"
3173VALIGN="TOP"
3174><TT
3175CLASS="PARAMETER"
3176><I
3177>utf</I
3178></TT
3179>&nbsp;:</TD
3180><TD
3181WIDTH="80%"
3182ALIGN="LEFT"
3183VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003184>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003185></TR
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><TT
3192CLASS="PARAMETER"
3193><I
3194>utfchar</I
3195></TT
3196>&nbsp;:</TD
3197><TD
3198WIDTH="80%"
3199ALIGN="LEFT"
3200VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003201>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003202></TR
3203><TR
3204><TD
3205WIDTH="20%"
3206ALIGN="RIGHT"
3207VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003208><SPAN
3209CLASS="emphasis"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003210><I
3211CLASS="EMPHASIS"
3212>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003213></SPAN
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003214> :</TD
3215><TD
3216WIDTH="80%"
3217ALIGN="LEFT"
3218VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003219>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003220></TR
3221></TBODY
3222></TABLE
3223><P
3224></P
3225></DIV
3226></DIV
3227><HR><DIV
3228CLASS="REFSECT2"
3229><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00003230NAME="AEN27326"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003231></A
3232><H3
3233><A
3234NAME="XMLUTF8STRSUB"
3235></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003236>xmlUTF8Strsub ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003237><TABLE
3238BORDER="0"
3239BGCOLOR="#D6E8FF"
3240WIDTH="100%"
3241CELLPADDING="6"
3242><TR
3243><TD
3244><PRE
3245CLASS="PROGRAMLISTING"
3246><A
3247HREF="libxml-tree.html#XMLCHAR"
3248>xmlChar</A
3249>* xmlUTF8Strsub (const <A
3250HREF="libxml-tree.html#XMLCHAR"
3251>xmlChar</A
3252> *utf,
3253 int start,
3254 int len);</PRE
3255></TD
3256></TR
3257></TABLE
3258><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003259>Note: positions are given in units of UTF-8 chars</P
3260><P
3261></P
3262><DIV
3263CLASS="INFORMALTABLE"
3264><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00003265NAME="AEN27334"
Daniel Veillardaec63562003-03-23 20:42:17 +00003266></A
3267><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003268></P
3269><TABLE
3270BORDER="0"
3271WIDTH="100%"
3272BGCOLOR="#FFD0D0"
3273CELLSPACING="0"
3274CELLPADDING="4"
3275CLASS="CALSTABLE"
3276><TBODY
3277><TR
3278><TD
3279WIDTH="20%"
3280ALIGN="RIGHT"
3281VALIGN="TOP"
3282><TT
3283CLASS="PARAMETER"
3284><I
3285>utf</I
3286></TT
3287>&nbsp;:</TD
3288><TD
3289WIDTH="80%"
3290ALIGN="LEFT"
3291VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003292>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003293></TR
3294><TR
3295><TD
3296WIDTH="20%"
3297ALIGN="RIGHT"
3298VALIGN="TOP"
3299><TT
3300CLASS="PARAMETER"
3301><I
3302>start</I
3303></TT
3304>&nbsp;:</TD
3305><TD
3306WIDTH="80%"
3307ALIGN="LEFT"
3308VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003309>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003310></TR
3311><TR
3312><TD
3313WIDTH="20%"
3314ALIGN="RIGHT"
3315VALIGN="TOP"
3316><TT
3317CLASS="PARAMETER"
3318><I
3319>len</I
3320></TT
3321>&nbsp;:</TD
3322><TD
3323WIDTH="80%"
3324ALIGN="LEFT"
3325VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003326>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003327></TR
3328><TR
3329><TD
3330WIDTH="20%"
3331ALIGN="RIGHT"
3332VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003333><SPAN
3334CLASS="emphasis"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003335><I
3336CLASS="EMPHASIS"
3337>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003338></SPAN
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003339> :</TD
3340><TD
3341WIDTH="80%"
3342ALIGN="LEFT"
3343VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003344>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003345></TR
3346></TBODY
3347></TABLE
3348><P
3349></P
3350></DIV
3351></DIV
3352><HR><DIV
3353CLASS="REFSECT2"
3354><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00003355NAME="AEN27355"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003356></A
3357><H3
3358><A
3359NAME="XMLUTF8STRLEN"
3360></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003361>xmlUTF8Strlen ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00003362><TABLE
3363BORDER="0"
3364BGCOLOR="#D6E8FF"
3365WIDTH="100%"
3366CELLPADDING="6"
3367><TR
3368><TD
3369><PRE
3370CLASS="PROGRAMLISTING"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003371>int xmlUTF8Strlen (const <A
3372HREF="libxml-tree.html#XMLCHAR"
3373>xmlChar</A
3374> *utf);</PRE
Daniel Veillarda41123c2001-04-22 19:31:20 +00003375></TD
3376></TR
3377></TABLE
3378><P
Daniel Veillard60087f32001-10-10 09:45:09 +00003379>compute the length of an UTF8 string, it doesn't do a full UTF8
Daniel Veillarda41123c2001-04-22 19:31:20 +00003380checking of the content of the string.</P
3381><P
3382></P
3383><DIV
3384CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003385><A
Daniel Veillardc2d4a932003-04-01 11:13:05 +00003386NAME="AEN27362"
Daniel Veillardaec63562003-03-23 20:42:17 +00003387></A
3388><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00003389></P
3390><TABLE
3391BORDER="0"
3392WIDTH="100%"
3393BGCOLOR="#FFD0D0"
3394CELLSPACING="0"
3395CELLPADDING="4"
3396CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003397><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003398><TR
3399><TD
3400WIDTH="20%"
3401ALIGN="RIGHT"
3402VALIGN="TOP"
3403><TT
3404CLASS="PARAMETER"
3405><I
3406>utf</I
3407></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003408>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003409><TD
3410WIDTH="80%"
3411ALIGN="LEFT"
3412VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003413>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003414></TR
3415><TR
3416><TD
3417WIDTH="20%"
3418ALIGN="RIGHT"
3419VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003420><SPAN
3421CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003422><I
3423CLASS="EMPHASIS"
3424>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003425></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00003426> :</TD
3427><TD
3428WIDTH="80%"
3429ALIGN="LEFT"
3430VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003431>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003432></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003433></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003434></TABLE
3435><P
3436></P
3437></DIV
3438></DIV
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003439></DIV
3440><DIV
3441CLASS="NAVFOOTER"
3442><BR
3443CLEAR="all"><BR><TABLE
3444WIDTH="100%"
3445BORDER="0"
3446BGCOLOR="#000000"
3447CELLPADDING="1"
3448CELLSPACING="0"
3449><TR
3450><TD
3451WIDTH="25%"
3452BGCOLOR="#C00000"
3453ALIGN="left"
3454><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003455HREF="libxml-parserinternals.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003456><FONT
3457COLOR="#FFFFFF"
3458SIZE="3"
3459><B
3460>&#60;&#60;&#60; Previous Page</B
3461></FONT
3462></A
3463></TD
3464><TD
3465WIDTH="25%"
3466BGCOLOR="#0000C0"
3467ALIGN="center"
3468><FONT
3469COLOR="#FFFFFF"
3470SIZE="3"
3471><B
3472><A
3473HREF="book1.html"
3474><FONT
3475COLOR="#FFFFFF"
3476SIZE="3"
3477><B
3478>Home</B
3479></FONT
3480></A
3481></B
3482></FONT
3483></TD
3484><TD
3485WIDTH="25%"
3486BGCOLOR="#00C000"
3487ALIGN="center"
3488><FONT
3489COLOR="#FFFFFF"
3490SIZE="3"
3491><B
3492><A
3493HREF="libxml-lib.html"
3494><FONT
3495COLOR="#FFFFFF"
3496SIZE="3"
3497><B
3498>Up</B
3499></FONT
3500></A
3501></B
3502></FONT
3503></TD
3504><TD
3505WIDTH="25%"
3506BGCOLOR="#C00000"
3507ALIGN="right"
3508><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00003509HREF="libxml-hash.html"
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003510><FONT
3511COLOR="#FFFFFF"
3512SIZE="3"
3513><B
3514>Next Page &#62;&#62;&#62;</B
3515></FONT
3516></A
3517></TD
3518></TR
3519><TR
3520><TD
3521COLSPAN="2"
3522ALIGN="left"
3523><FONT
3524COLOR="#FFFFFF"
3525SIZE="3"
3526><B
3527>parserInternals</B
3528></FONT
3529></TD
3530><TD
3531COLSPAN="2"
3532ALIGN="right"
3533><FONT
3534COLOR="#FFFFFF"
3535SIZE="3"
3536><B
Daniel Veillard52dcab32001-10-30 12:51:17 +00003537>hash</B
Daniel Veillardaeea04f2000-01-25 19:27:27 +00003538></FONT
3539></TD
3540></TR
3541></TABLE
3542></DIV
3543></BODY
3544></HTML
3545>