Bug#386443: Fwd: Re: Endianness in UTF-16 encoding
Subject: Endianness in UTF-16 encoding
From: Tom Tromey <firstname.lastname@example.org>
Date: Thu, 07 Sep 2006 19:20:41 +0200
>>>>> "Marcus" == Marcus Better <email@example.com> writes:
Marcus> According to Sun's API docs (Charset class), the UTF-16
Marcus> encoding is supposed to default to big-endian.
Marcus> What confuses me is that I checked the Classpath source for
Marcus> OutputStreamWriter, and it does the right thing, i.e., big-endian:
Classpath and libgcj differ a bit here.
Most likely this is happening because libgcj is using the glibc iconv
to do this conversion, and glibc is probably picking the native
Could you file this in the gcc bugzilla?