JDK-4310713 : Swedish characters and System.out
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 1.2.2
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2000-02-08
  • Updated: 2000-02-26
  • Resolved: 2000-02-26
Related Reports
Relates :  
Description
Name: rlT66838			Date: 02/07/2000


E:\>java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)

E:\>

public class HelloWorld {
  public void main(String argv[]) {
    System.out.println("Hej v?rlden!");
  }
}

- This is the hello world program in swedish -

Produces a garbage charcter for the 'a' with dots above. I use the WinNT cmd.com
environment to run the program

This has been the case since jdk 1.0 and I have reported the bug for jdk 1.1.3
and 1.1.5.
(Review ID: 98595) 
======================================================================

Comments
EVALUATION I suspect that this is a duplicate of 4153167 "separate between ANSI and OEM code pages on Windows". If that's true, then the data should be shown correctly if it is redirected into a file and then displayed using NotePad or similar editors. Is that the case? norbert.lindenberg@Eng 2000-02-07
07-02-2000