[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Add fake ASCII En/Decoder
From: |
Mark Wielaard |
Subject: |
FYI: Add fake ASCII En/Decoder |
Date: |
Sun, 04 Jul 2004 18:50:16 +0200 |
Hi,
This adds fake ASCII en/decoder support. Some programs really need that.
(And it makes two more Mauve tests succeed.)
2004-07-04 Mark Wielaard <address@hidden>
* java/lang/System.java (static): Add (fake) ASCII support to
defaultProperties encoding_scheme_alias.
Roman said that he did have a real en/decoder so hopefully we can add
that after the release.
Cheers,
Mark
--- java/lang/System.java 20 May 2004 14:35:19 -0000 1.35
+++ java/lang/System.java 4 Jul 2004 16:44:15 -0000
@@ -200,6 +200,15 @@
defaultProperties.put("gnu.java.io.encoding_scheme_alias.UTF-8", "UTF8");
defaultProperties.put("gnu.java.io.encoding_scheme_alias.utf-8", "UTF8");
+ // XXX FIXME - Cheat a little for ASCII.
+ // Remove when we get a real "ASCII En/Decoder"
+ defaultProperties.put("gnu.java.io.encoding_scheme_alias.ASCII",
"8859_1");+ defaultProperties.put("gnu.java.io.encoding_scheme_alias.ascii",
"8859_1");+
defaultProperties.put("gnu.java.io.encoding_scheme_alias.US-ASCII",
+ "8859_1");
+ defaultProperties.put("gnu.java.io.encoding_scheme_alias.us-ascii",
+ "8859_1");
+
// XXX FIXME - Temp hack for old systems that set the wrong property
if (defaultProperties.get("java.io.tmpdir") == null)
defaultProperties.put("java.io.tmpdir",
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Add fake ASCII En/Decoder,
Mark Wielaard <=