Hi,
Does anyone else use j2sdk1.4.1 from sun? If so, please try the
following class, and tell me if you get question marks for output
or if you get the 8859-1 symbols (a Section symbol and a middle
dot).
public class I18nTest
{
public static void main(String[] args)
{
String s = new String(new byte[] { (byte) 167, (byte) 183 });
System.out.println(s);
}
}
Alternatively, anyone know about this stuff? If I run the class
above in any other jdk I have that runs (1.1 on Debian, black
down on gentoo, IBM's jdk 1.2.2 on either, j2sdk 1.4.1 on
Windows) I get the section symbol and the dot. But if I use
j2sdk 1.4.1 on Linux (either Debian or Gentoo), I get two
question marks. I've been trying to figure this one out for a
couple of days now to no avail.
- richard
--
Richard Kilgore
[EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list