This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]