iconv on Solaris

Mark Mitchell mark@codesourcery.com
Mon Sep 24 08:45:00 GMT 2001


--On Monday, September 24, 2001 08:47:26 AM -0400 Jeff Sturm 
<jsturm@one-point.com> wrote:
>>> On 2001年9月24日, Jeff Sturm wrote:
>> Apparently Solaris 8 iconv supplies the missing converters but breaks
>> somewhere else.
>> Or not. I just checked more carefully. 0xFEFF is the Byte Order Mark.
> From unicode.org:

OK, thanks for looking that up.
That indicates that Solaris is probably doing the right thing,
and libjava/gcj/convert/natIconv.cc should be fixed to handle the BOM.
Or, just use UCS-2BE on Solaris.
I'm not going to have time to put together a patch, unfortunately;
what I've got locally is the hideous:
#ifdef __sun__
 "UCS-2BE",
#else
 "UCS-2",
#endif
which does work.
Thanks,
-- 
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /