This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: outputting iso-8859-1 chars
On Thursday, April 25, 2002 at 10:08, Morten Poulsen wrote:
>
> > On Linux the Sun JVM assumes that the C locale uses ISO-8859-1, when
> > in fact it uses ASCII. libgcj respects this difference and outputs
> > just ASCII, meaning that character > 0x7f is printed as `?'.
>
> When I set my locale to da it still outouts a '?'.
$ LC_CTYPE=C ./a.out
xxx?xxx
$ LC_CTYPE=en_GB ./a.out
xxxåxxx
Setting locale here fixes it...
Oskar Liljeblad (oskar@osk.mine.nu)