R
Richard Ivarson
Some Java programs I use output text to the console with contains
Unicodes. Inside a Unix console and other Iso-Latin capable consoles,
everything is perfect.
However when I run them within a Win32 dosbox
(command.com/cmd.com/etc) those Unicode characters are being mapped to
wrong DOS characters.
In former times (Java 1.2 I think) I could do the following trick
within such a Dos box:
java -Dfile.encoding=Cp850 -jar Javapp.jar
And the characters have been correct (it's been a dosbox with German
Umlaut characters then).
However, nowadays, it doesn't work anymore. The JRE issues an
Exception that it doesn't know that codepage.
Does anybody please know a solution? Many thanks.
-ric
Unicodes. Inside a Unix console and other Iso-Latin capable consoles,
everything is perfect.
However when I run them within a Win32 dosbox
(command.com/cmd.com/etc) those Unicode characters are being mapped to
wrong DOS characters.
In former times (Java 1.2 I think) I could do the following trick
within such a Dos box:
java -Dfile.encoding=Cp850 -jar Javapp.jar
And the characters have been correct (it's been a dosbox with German
Umlaut characters then).
However, nowadays, it doesn't work anymore. The JRE issues an
Exception that it doesn't know that codepage.
Does anybody please know a solution? Many thanks.
-ric