Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 1999 13:59:07 +0900
From:      SHUDO Kazuyuki <shudoh@muraoka.info.waseda.ac.jp>
To:        "Daichi T.GOTO" <daichi@ongs.net>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: About Japanese problem with Swing.
Message-ID:  <199901110459.NAA28695@cafe.muraoka.info.waseda.ac.jp>
In-Reply-To: Your message of "Sun, 10 Jan 1999 21:11:59 JST." <19990110211159X.daichi@ongs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Daichi T.GOTO <daichi@ongs.net> wrote:

> JDK1.1.7 does mistakes to get the locale informations. For example,

> the environment values:
> LANG=ja_JP.EUC

> the result:
> file.encoding=8859_1

> The information "file.encoding=8859_1" is bad.
> That should be "file.encoding=EUC_JP".

I think so. A default value of property `file.encoding'
should follow locale of the system.

> Is this the espacially problem of FreeBSD
> JDK1.1.7, or original JDK1.1.7 bug?

This is surely a problem and I can make a patch.
JDK 1.1.7 can recognize only `ja', `japanese' and `PCK'
as encoding for Japanese.

I can't be sure which, Sun or porting team, should deal
with the problem. More people will be happy if Sun deal
with. But Sun may claim that current implementation is
sufficient, because current JDK supports `ja' and
`japanese' which is values of LANG for SunOS 5.

Who should deal with this problem?


Kazuyuki SHUDO				Happy Hacking!
  Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.
E-mail: shudoh@muraoka.info.waseda.ac.jp
Address: Muraoka Lab., Waseda Univ.,
         3-4-1 Okubo Shinjuku-ku Tokyo 169-8555 JAPAN
TEL: +81-3-3209-5198	FAX: +81-3-3209-5198

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901110459.NAA28695>