Gerard van Enk wrote:
ACTUAL -
[EMAIL PROTECTED]:/tmp/test$ java execInput
command: echo Caf?? twee??ntwintig
Here is the standard output of the command:
Caf?? twee??ntwintig
Here is the standard error of the command (if any):

Hmm, on my machine there are no problems with this program. I'm running Red Hat Linux 7.3 (kernel 2.4.20-20.7). Using Java 1.4.2_03-b02 and 1.3.1-b24 in an ISO-8895-1 terminal I get:


[EMAIL PROTECTED] tmp]$ java execInput
command: echo Café tweeëntwintig
Here is the standard output of the command:

Café tweeëntwintig
Here is the standard error of the command (if any):

For those seeing question marks here:

Caf<LATIN CAPITAL LETTER A WITH TILDE><COPYRIGHT SIGN>
twee<LATIN CAPITAL LETTER A WITH TILDE><LEFT-POINTING DOUBLE ANGLE QUOTATION MARK>ntwintig


Using both Java versions in an utf8 terminal (xterm -u8) I get:

command: echo Caf� twee�ntwintig
Here is the standard output of the command:

Caf� twee�ntwintig
Here is the standard error of the command (if any):

For those seeing question marks here:

Caf<LATIN SMALL LETTER E WITH ACUTE>
twee<LATIN SMALL LETTER E WITH DIAERESIS>ntwintig

Jaco




Reply via email to