1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/result/utf16lebom.xml.sax
William M. Brack f9415e4989 Enhanced the handling of UTF-16, UTF-16LE and UTF-16BE encodings. Now
* encoding.c, include/libxml/encoding.h: Enhanced the handling of UTF-16,
  UTF-16LE and UTF-16BE encodings.  Now UTF-16 output is handled internally
  by default, with proper BOM and UTF-16LE encoding.  Native UTF-16LE and
  UTF-16BE encoding will not generate a BOM on output, and will be
  automatically recognized on input.
* test/utf16lebom.xml, test/utf16bebom.xml, result/utf16?ebom*: added
  regression tests for above.
2003-11-28 09:39:10 +00:00

9 lines
256 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.comment( This file is encoded in UTF-16LE )
SAX.startElement(repository, repositroy_id='test')
SAX.startElement(namespace, name='test')
SAX.endElement(namespace)
SAX.endElement(repository)
SAX.endDocument()