public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/14358] New: Selection of default encoding is not sufficient with EUC-JP on FreeBSD
@ 2004-03-01  8:40 sa2c at sa2c dot net
  2004-03-01  8:43 ` [Bug libgcj/14358] " pinskia at gcc dot gnu dot org
  2004-05-31 21:32 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: sa2c at sa2c dot net @ 2004-03-01  8:40 UTC (permalink / raw)
  To: gcc-bugs

On FreeBSD 4.9, nl_langinfo(CODESET) returns "eucJP" when the
LANG environment variable is "ja_JP.eucJP".
Unfortunately this name is not registered as alias for "EUCJIS";
"8859_1" is selected as default encoding.

fix:
--- libjava/gnu/gcj/convert/IOConverter.java.orig	Mon Sep 17 11:28:53 2001
+++ libjava/gnu/gcj/convert/IOConverter.java	Mon Mar  1 17:24:11 2004
@@ -63,6 +63,7 @@
     hash.put ("extended_unix_code_packed_format_for_japanese", "EUCJIS");
     hash.put ("cseucpkdfmtjapanese", "EUCJIS");
     hash.put ("euc-jp", "EUCJIS");
+    hash.put ("eucJP", "EUCJIS");
 
     iconv_byte_swap = iconv_init ();
   }

-- 
           Summary: Selection of default encoding is not sufficient with
                    EUC-JP on FreeBSD
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sa2c at sa2c dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-portbld-freebsd4.9
  GCC host triplet: i386-portbld-freebsd4.9
GCC target triplet: i386-portbld-freebsd4.9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14358


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/14358] Selection of default encoding is not sufficient with EUC-JP on FreeBSD
  2004-03-01  8:40 [Bug libgcj/14358] New: Selection of default encoding is not sufficient with EUC-JP on FreeBSD sa2c at sa2c dot net
@ 2004-03-01  8:43 ` pinskia at gcc dot gnu dot org
  2004-05-31 21:32 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-01  8:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-01 08:43 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-01 08:43:42
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14358


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/14358] Selection of default encoding is not sufficient with EUC-JP on FreeBSD
  2004-03-01  8:40 [Bug libgcj/14358] New: Selection of default encoding is not sufficient with EUC-JP on FreeBSD sa2c at sa2c dot net
  2004-03-01  8:43 ` [Bug libgcj/14358] " pinskia at gcc dot gnu dot org
@ 2004-05-31 21:32 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 21:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-31 00:37 -------
Please send your patch to gcc-patches@ and java-patches@ after reading <http://gcc.gnu.org/
contribute.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |java-prs at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2004-03-01 08:43:42         |2004-05-31 00:37:08
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14358


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-31  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01  8:40 [Bug libgcj/14358] New: Selection of default encoding is not sufficient with EUC-JP on FreeBSD sa2c at sa2c dot net
2004-03-01  8:43 ` [Bug libgcj/14358] " pinskia at gcc dot gnu dot org
2004-05-31 21:32 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).