Name: vi73552 Date: 03/11/99
I have an input file encoded in cp932 (Japanese characters).
To open this file I use the following:
BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream("cp932.txt"), "SJIS"));
When I read this file it converts a double-byte character 0x7c81, which is a full-width character "-" and has a Unicode equivalent \uff0d to a different Unicode character - \u2212, which is also mapped to character "-" in some fonts (for example, Times New Roman), but is missing in MS Mincho font that is common font to display Japanese in Windows. That causes alignment problems when Japanese text is displayed.
(Review ID: 55348)
======================================================================