gcj unicode characters

Tom Tromey tromey@redhat.com
Tue Feb 3 23:15:00 GMT 2004


>>>>> "Jacob" == Jacob Gladish <gladish@spinnakernet.com> writes:

Jacob> I'm having trouble undestading how gcj handles unicode in the source
Jacob> files. I have a source file that has the authors name in the header
Jacob> comments which includes a non-ascii character.
gcj tries to deduce the default encoding from your locale settings.
If it can't, it assumes a default of UTF-8.
I'm guessing that you are running under different locales on the two
platforms, or that the locales have different choices for character
sets.
Another potential failure mode here is that gcc's configure could
decide that freebsd doesn't support nl_langinfo(CODESET). If your
locale settings are the same, then that is the next thing we can
check.
Tom


More information about the Java mailing list

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