Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4080054

UNICODE characters can not be displayed properly when you use a Monospaced font

XMLWordPrintable

    • 1.1.6
    • x86
    • generic
    • Verified

        UNICODE characters can not be displayed properly when you use a Monospaced font:

           FE68 - full width Backslash
           FFE5 - Full width Yen sign
           FFE0 - Full width Cent sign
           FFE1 - Full width Pound sign

        You can recreate this problem with SymbolTest demo applet or with the attached
        code (thanks to the licensee support group in Japen for this) :-

        O/S version: WindowsNT - Taiwan

        import java.awt.*;

        public class test extends java.applet.Applet {
                TextField text;
                Button button;
                static String str = "\uFE68\uFFE5\uFFE0\uFFE1";

            public void init() {

                text = new TextField(str, 10);
                add(text);

                button = new Button(str);
                add(button);
            }
        }

              joconnersunw John Oconner (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: