From owner-freebsd-java Sun Jan 10 20:59:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA02904 for freebsd-java-outgoing; Sun, 10 Jan 1999 20:59:59 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from cafe.muraoka.info.waseda.ac.jp (cafe.muraoka.info.waseda.ac.jp [133.9.68.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA02898 for ; Sun, 10 Jan 1999 20:59:57 -0800 (PST) (envelope-from shudoh@muraoka.info.waseda.ac.jp) Received: from muraoka.info.waseda.ac.jp (shudoh@localhost [127.0.0.1]) by cafe.muraoka.info.waseda.ac.jp (8.9.1a/3.7W) with ESMTP id NAA28695; Mon, 11 Jan 1999 13:59:07 +0900 Message-Id: <199901110459.NAA28695@cafe.muraoka.info.waseda.ac.jp> To: "Daichi T.GOTO" Cc: freebsd-java@FreeBSD.ORG Subject: Re: About Japanese problem with Swing. In-reply-to: Your message of "Sun, 10 Jan 1999 21:11:59 JST." <19990110211159X.daichi@ongs.net> Date: Mon, 11 Jan 1999 13:59:07 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Daichi T.GOTO 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