[jdom-interest] XMLOutputter clipping text ... a bug?

Rick Beton richard.beton at dsl.pipex.com
Mon Mar 8 11:47:56 PST 2004


I may be wrong, but I was under the impression that the UTF-8 BOM takes
three bytes (EF BB BF), and two bytes in UTF-16.
See http://www.unicode.org/unicode/faq/utf_bom.html#BOM

Rick


Jason Hunter wrote:

> That's a byte order mark, used in UTF-8 output.
>
> -jh-
>
> William Krick wrote:
>
>> Ok, more strangeness...
>>
>> I opened the output file in a hex editor.
>>
>> There are two characters before my ascii XML begins:  FF FE  (in hex)
>>
>> This makes no sense at all.
>






More information about the jdom-interest mailing list