Edit

kc3-lang/libxml2/test/utf16lebom.xml

Branch :

  • Show log

    Commit

  • Author : William M. Brack
    Date : 2003-11-28 09:39:10
    Hash : f9415e49
    Message : 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.

  • test/utf16lebom.xml
  • <?xml version="1.0" encoding="UTF-16LE" standalone="yes"?>
    <!-- This file is encoded in UTF-16LE -->
    <repository repositroy_id="test"><namespace name="test"/></repository>