|
|||||
|
||||||
Related Topics | Other Library Functions |
constant |
utf8.byte-order-mark |
Library: UTF-8 (OMUTF8)
Import: omutf8.xmd |
Return type: String Returns: UTF-8 byte-order mark |
constant string byte-order-mark
Some UTF-8 data streams contain a leading byte-order mark (also referred to as a signature). Since this byte-order mark can interfere with later processing, it is sometimes better to remove it from the input. For example, since a UTF-8 byte-order mark can interfere with XML processing, it can be dropped from the input before the latter is passed to the XML parser:
process do xml-parse scan file "input.xml" drop utf8.byte-order-mark? suppress done
Related Topics |
Other Library Functions |
Copyright © Stilo International plc, 1988-2010.