System displaying few chinese characters as '??'...

Hi,
On search help, few of the chinese charaters are gettin displayed as '??'..
why is'nt the system identifying these characters??...
I did check on options->I18N...its activated and my PC local language is 'Chinese'..
Still iam facing the same problem?!...
Can anyone help me out??

Sorry..
Problem is solved..
(alt+f12) - charater set - >Traditional chinese..
that soved the problem!!

Similar Messages

  • MS Notepad unable to display the Chinese characters I type and display them as squares

    MS Notepad is unable to display the Chinese characters I type and display them as squares. But when I copy those squares on notepad to Wordpad or MS Word, they display the Chinese characters just fine. I've no idea why those Chinese characters I type can't display properly on notepad. I check the font of the notepad and it's the default. I've another Windows Vista desktop computer which has notepad of the similar setting and display Chinese characters just fine. Both are using Chinese (Simplified) - Microsoft Pinyin New Experience Input Style to input those characters. But I don't understand why my Windows 7 is facing this problem.

    Hi,
    Notepad is a very simple text editor BUT it will work if you use the SAME language in Windows. Please try:
    1. go to control panel, click "Clock, Language, and Region"
    2. click "Change location" under the "Region" section
    3. go to the "administrative" tab, then click "change system locale...", then select "Chinese".
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Pls help - Displaying Simplified Chinese characters

    Hi all,
    I am using Servlet to generate HTML.
    When I use setContentType="charset=big5" and out.println(" . . . ."); with Big-5 Traditional Chinese characters, everything is fine.
    However, when I use setContentType="charset=gb2312" and out.println(" . . . ."); with GB2312 Simplified Chinese characters, everything is trash with some ??????.
    The internet browser in both cases can correctly set to the appropriate character set, that is, in the 1st case it is big5 and in the 2nd case it is gb2312.
    Pls help

    It should be because the font provided cannot handle the characters. Java only ever sprays question marks or rectangles at you if the font you're using is incapable of displaying what you're trying to show.
    I'd imagine that the system's default font is capable of displaying Big5 Chinese characters quite happily if it's working on the page. The problem will come when you switch the encoding of the page and the characters within it. The same default font obviously can't display GBK stuff. So switching the font (probably through the use of <FONT face=""> tags) might do the trick.
    Hope that helps!
    Martin Hughes

  • Display of Chinese Characters in Flash Video

    '''Help needed to resolve issue with display of chinese fonts in Firefox.'''
    I used to be able to run an html based chinese language learning program (with embedded Flash) in Firefox on my Galaxy Nexus mobile...that is until I installed the latest version of Firefox.
    These are the instructions that came with the program to install/run it:
    This site is best viewed with Mozilla FireFox 3.x+ (and above) with either Adobe Flash Player 8+ (and above) at a minimum screen resolution of 1024 x 768. We also recommend that you enable both JavaScript and Cookies in your chosen browser's settings. Obviously things have moved on since then and the version of Firefox I installed around May 2013 would have been around 22.0
    While the above appear to be targeted at computer/tablet platforms the program ran successfully on my mobile and the embedded flash video worked well. The video clips and accompanying audio for each lesson were also accompanied by text that updated as each speaker began conversing. This text could be displayed (by selection) in English, Pinyin or Chinese characters.
    With an upgrade to the latest version of Firefox the Chinese characters now no longer display although 'English' fonts do...why? Is this a character encoding issue? Can this be set? What has changed between version 22 or thereabouts that I installed in May 2013 and the current version. Someone must surely know ??? If this cant be fixed, how can I re-install an older version of Firefox on my mobile. As an aside
    I was able to download firefox-22.0.bundle, some bundle.parts and .source files along with Firefox Setup 3.6.28.exe but cant install any of these. HELP needed please.

    Hello,
    Can you please confirm that this is the summary of the issue you are facing
    #On a site using Flash, and using Firefox 22.0, you were able to view English, Pinyin, Chinese characters on the flash video
    #You upgraded Firefox to the latest version from the play store, and also have the latest Flash version, but the same Flash video doesn't display the Chinese characters now
    #You are looking for the older version of Firefox for Android so that you can confirm that this issue has something to do with the latest version of Firefox
    For the last point, you can download the Android APKs of the older versions from the following links
    #[https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/22.0/android/en-US/ Android APK for Firefox 22.0 in English]
    #[https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/22.0/android-armv6/en-US/ Android APK for Firefox 22.0 in English for Arm V6]
    Please do note that you will need to enable the 'Install from unknown sources' option on the Android device to be able to install this APK. Suggest that you disable the setting after you finish your testing.
    Please confirm the details above and we can help you resolve the issue.
    Thank you

  • Displaying UTF chinese characters

    Here's my code
              final StringBuilder sb = new StringBuilder();
              DropWindow dw = new DropWindow() {
                   public void runFile(File f, Object[] extras) {
                        try {
                             String str = IOUtils.readFileAsString(f);
                             for (int i = 0; i < str.length(); i++) {
                                  System.out.println("char[" + i + " ] = " + (int)str.charAt(i));
                             sb.append(str);
                        catch (IOException iox) {
                             iox.printStackTrace();
              JPanel jp = new JPanel() {
                   public void paintComponent(Graphics g) {
                        super.paintComponent(g);
                        g.drawString(sb.toString(), getWidth() / 2, getHeight() / 2);
              dw.add(jp);
              WindowUtilities.visualize(dw);when I run this I get
    char[0 ] = 20320
    char[1 ] = 22909
    char[2 ] = 13
    char[3 ] = 10
    in the command line. On the screen I get 2 squares where I'm hoping my chinese characters will be.
    Is it just that I'm not using an international version of java? I just went to the download page and it seems like all java versions are international now. Could it be that my font can't represent the characters?
    How can I paint chinese characters?

    I don't understand. 'Arial' will never display Chinese. In JRE1.6, the only font I know that displays Chinese is "AR PL ShanHeiSun Uni". In 1.5 there was a second one but that seems to have been removed.
    When I want to find a font for a particular character set I use the following simple Swing application -
    import java.awt.BorderLayout;
    import java.awt.Font;
    import java.awt.GraphicsEnvironment;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.Iterator;
    import javax.swing.BorderFactory;
    import javax.swing.JCheckBox;
    import javax.swing.JComboBox;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.ListSelectionModel;
    import javax.swing.UIManager;
    import javax.swing.event.ListSelectionEvent;
    import javax.swing.event.ListSelectionListener;
    public class FontAndCharDisplay extends JFrame
        private JComponent createStyleSelector()
            JPanel panel = new JPanel();
            panel.add(boldButton);
            panel.add(italicButton);
            ActionListener styleListener = new ActionListener()
                public void actionPerformed(ActionEvent event)
                    updateDisplayOfChars();
            boldButton.addActionListener(styleListener);
            italicButton.addActionListener(styleListener);
            panel.setBorder(BorderFactory.createTitledBorder("Style"));
            return panel;
        private JComponent createSizeSelector()
            int[] sizes =
            {8,9,10,11,12,14,16,18,20,24,28,32, 36, 40, 48, 56, 64, 72, 84,100};
            final JComboBox sizeSelector = new JComboBox();
            for (int index = 0; index < sizes.length; index++)
                sizeSelector.addItem(new Integer(sizes[index]));
            fontSize = 14;
            sizeSelector.setSelectedItem(new Integer(fontSize));
            sizeSelector.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent event)
                    fontSize = ((Integer)sizeSelector.getSelectedItem()).intValue();
                    updateDisplayOfChars();
            sizeSelector.setBorder(BorderFactory.createTitledBorder("Size"));
            sizeSelector.setOpaque(false);
            return sizeSelector;
        private JComponent createPageSelector()
            String[] pageAddresses = new String[256];
            for (int row = 0; row < 16; row++)
                for (int col = 0; col < 16; col++)
                    pageAddresses[row*16+col] = HEX_CHARS[row] + (HEX_CHARS[col] + "00");
            final JComboBox addressSelector = new JComboBox(pageAddresses);
            addressSelector.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent event)
                    updateAddressBase(Integer.parseInt((String)addressSelector.getSelectedItem(), 16));
            addressSelector.setBorder(BorderFactory.createTitledBorder("Page"));
            addressSelector.setOpaque(false);
            return addressSelector;
        private FontAndCharDisplay()
            super("Font Display");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel upperPanel = new JPanel(new BorderLayout());
            JPanel controlsPanel = new JPanel(new GridLayout(1,0));
            controlsPanel.add(createPageSelector());
            controlsPanel.add(createSizeSelector());
            controlsPanel.add(createStyleSelector());
            upperPanel.add(controlsPanel, BorderLayout.NORTH);
            fontSelector = new JList(GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames());
            fontSelector.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            fontSelector.addListSelectionListener(new ListSelectionListener()
                public void valueChanged(ListSelectionEvent e)
                    if (!e.getValueIsAdjusting())
                        updateDisplayOfChars();
            JScrollPane fontNameDisplay = new JScrollPane(fontSelector);
            fontNameDisplay.setBorder(BorderFactory.createTitledBorder("Name"));
            upperPanel.add(fontNameDisplay, BorderLayout.CENTER);
            fontSelector.setSelectedIndex(0);
            getContentPane().add(upperPanel, BorderLayout.NORTH);
            // Build the set of components to display the characters
            for (int index = 0; index < 256; index++)
                charDisplayFields.add(new JLabel(""));
            // Build the main character display area
            int startPoint = 0;
            final JPanel charDisplayPanel = new JPanel(new GridLayout(0, 17));
            charDisplayPanel.add(new JLabel(""));
            for (int col = 0; col < 16; col++)
                charDisplayPanel.add(new JLabel(Character.toString(HEX_CHARS[col])));
            for (int row = 0; row < 16; row++)
                charDisplayPanel.add(new JLabel(Character.toString(HEX_CHARS[row])));
                for (int col = 0; col < 16; col++)
                    charDisplayPanel.add((JComponent)charDisplayFields.get(startPoint++));
            JScrollPane characterDisplay = new JScrollPane(charDisplayPanel);
            characterDisplay.setBorder(BorderFactory.createTitledBorder("Page Display"));
            getContentPane().add(characterDisplay, BorderLayout.CENTER);
            updateAddressBase(0);
            updateDisplayOfChars();
            pack();
        private void updateAddressBase(int start)
            for (Iterator it = charDisplayFields.iterator(); it.hasNext();)
                JLabel label = (JLabel)it.next();
                label.setText(Character.toString((char)start++));
        private void updateDisplayOfChars()
            // Calculate the style
            int style = 0;
            if (italicButton.isSelected())
                style |= Font.ITALIC;
            if (boldButton.isSelected())
                style |= Font.BOLD;
            // Build the font
            Font font = new Font((String)fontSelector.getSelectedValue(), style, fontSize);
            System.out.println(font);
            // Update all the char labels to use the new font
            for (Iterator it = charDisplayFields.iterator(); it.hasNext();)
                JLabel label = (JLabel)it.next();
                label.setFont(font);
        public static void main(String[] args)
            try
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                new FontAndCharDisplay().setVisible(true);
            catch (Exception e)
                e.printStackTrace();
        private int fontSize = 10;
        private ArrayList charDisplayFields = new ArrayList(256);
        private JCheckBox boldButton = new JCheckBox("Bold");
        private JCheckBox italicButton = new JCheckBox("Italic");
        private JList fontSelector;
        private static final char[] HEX_CHARS =
        {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
    }Please don't look too close at the code - it was one of my earliest Swing applications.
    P.S. These values
    char[2 ] = 13
    char[3 ] = 10
    are just CR and LF and not Chinese.
    Edited by: sabre150 on Aug 29, 2008 9:21 PM

  • All App failed when key in (few) Chinese characters with iOS5

    hi,
    my iPhone 4 was upgraded to iOS 5.0.1. But when I key in certain Traditional Chinese Characters (e.g. 還, 或, etc.), the app stop and return to iPhone start up menu. It happens to all app's, including native app of Messages, Notes, etc. I checked with some of my friends who upgrade their iPhone to iOS5. Strange enough is no one suffers the same issue with me. So I wonder what went wrong with MY iPhone/iOS5?

    http://expresslane.apple.com/ setup a callback with them and have your account info updated i would assume

  • Why does top browser bar (one with Firefox logo & minimize/restore/close button) periodically display in Chinese characters?

    The top bar on the page - the one that displays the open page URL etc. - always opens in English but periodically changes automatically to Chinese. As far as I can tell, this seems to happen when I have been working with MS Expression Web 3 & publishing to a web site, but this is not for sure.

    In the past this issue has been reported as caused by the "RealPlayer Browser Record Plugin" extension (Tools > Add-ons > Extensions) that shows in your More system details list.<br />
    The version that you have installed may still cause that same issue.
    Do not confuse the "RealPlayer Browser Record Plugin" extension with the RealPlayer plugin (Tools > Add-ons > Plugins) that plays media files.<br />
    The extension adds some extra features like saving media files.
    You can disable/remove the RealPlayer Browser Record Plugin extension in the RealPlayer Preferences (RealPlayer: Tools > Preferences > Download & Recording)
    See also [[Troubleshooting extensions and themes]]

  • Chinese Characters Not Displayed Properly when iCal sync with Palm T5

    Hi All,
    I am having problem with the Chinese Character display on iCal. I am using iMac Intel Core Duo and Palm T5. I can read on my iMac the Chinese Characters which I typed on the iMac. Also I can read on my Palm those Chinese I inputted on my Palm. But both can't display the Chinese Characters inputed by each other. Can anyone help?
    Thanks.

    Hello,
    I assume your flash disk is using FAT16/32...
    You need to specify the character set when mounting it. On the command line...
    # mount /dev/sda1 /mnt/mountpoint -o iocharset=utf8
    To include this option in the default VFAT mount options under GNOME, launch gconf-editor, look for the key: /system/storage/default_options/vfat and add iocharset=utf8 to the list of mount options.

  • Display chinese characters from oracle 8i database using UTF-8

    I have written a program to retrieve chinese characters from the database and display in the web page.If I change the encoding of the webpage manully it displays the chinese characters(&#27604;&#20998;&#21345;&#29255; ).Or it shows the junk characters(�������� ).Can anybody help so that do I have to do any encoding or any other settings?.I am using Jdeveloper.
    Rgds
    Ganesh
    <HTML><HEAD><TITLE>Welcome to METRO</TITLE>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <%//@ page contentType="text/html; charset=UTF-8" %>
    <%@ page import="java.io.*,java.io.InputStream,java.nio.*,java.lang.*,java.util.*,javax.naming.Context,java.sql.Connection,javax.sql.DataSource,javax.naming.InitialContext,java.sql.*" %>
    </HEAD>
    <BODY >
    <%
    String value="";
    try{
    Connection dbConn;
    Statement stmt=null;
    Context jndiCtx=new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource)jndiCtx.lookup( "jdbc/webdbPooledDS" );
    dbConn= ds.getConnection();
    stmt=dbConn.createStatement();
    String sql="select prog_name_LL2 from wb_prog_new_metro where table_name='SCORE_CARD'";
    ResultSet rs = stmt.executeQuery(sql);
    if( rs.next()){                    
    value=rs.getString(1);
    out.println(value);
    }catch(Exception e){
    System.out.println("Exception ="+e.getMessage());
    %>
    </BODY></HTML>

    Make sure that you have a Unicode font that supports Chinese characters. I have been testing the support of Unicode text (allows many other character and image based languages to be displayed) and have found that it depends on what fonts are available on the system you're viewing the report on. Unicode is supported in Crystal (since version 9 I believe) but it will display '?' or '[]' if there isn't a font to render the text properly.
    This font supports loads of languages: http://www.code2000.net/code2000_page.htm

  • The "blue bar" no longer properly displays Chinese characters.

    I recently updated my Adobe Reader from 7 to 9.4, and since doing so, Firefox no longer displays Chinese characters in the title bar. Instead, I now only see question marks.
    I've added Chinese to the preferred languages and also tried switching the browser's text to Unicode, but neither of these has made a difference.
    It's certainly a minor issue, but if anyone knows what to do, I'd greatly appreciate the help!
    Thanks!

    A possible cause is that Firefox has a problem with the (system) font that is used to display the Chinese characters on the title bar.
    Were any new fonts installed recently?
    You can try to use the system file checker to see if there are any problems with font files.
    See Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe): http://support.microsoft.com/kb/310747

  • Chinese characters does not display in adobe pdf in windows xp machines

    Dear All,
        I am a application developer using Struts2 framework with jasper reports.Clients want to display chinese characters in the report output pdf documents.
    even i could install east asian language (windows xp) support,i did not get the chinese display in the generated pdf file.
       In the jasper report viewer the chinese character could be viewed perfectly.but when we save as pdf document the chinese characters are blank
    in the generated pdf document.
      I did all the procedures specified in forums. but no result.
      I could see that when i open the pdf,only helvatica font was used even i put the chinese characters.How could i embed the chinese character in pdf
    what is the clear procedure to display the chinese characters in pdf documents?
    Thanks and regards,
    PKS Rammesh

    Hi, there is a  pdf tool,(most part of Chinese character supported) you can have a check: http://www.e-iceblue.com/Introduce/pdf-for-net-introduce.html
    Good Luck.

  • Chinese Characters not display when PDF for marketing doc

    Hi All,
    I have typed in some Chinese Characters into a Print Layout Document.
    I am able to print these documents with the Chinese characters. But I am not able to display these Chinese Characters when I click on PDF.
    Please advise.
    Rdgs
    Jessie

    Hi Gordon,
    I have applied the various asian language service pack for the Adobe Reader.
    However, i am still not able to see the Chinese Characters in the PDF document when click on the PDF at SAP B1's Toolbar.
    Step 1 : Update a PLD with Chinese Characters (as text or from database field). Eg. AR Invoice.
    Step 2 : Set the PLD as Default Layout.
    Step 3 : At AR Invoice, call out an existing Invoice, click on Preview. Chinese Character is able to be previewed and printed.
    Convert to PLD.
    Step 4 : At AR Invoice, call out an existing Invoice, click on PDF button at the Toolbar. Preview the PDF document. No Chinese Characters are displayed.
    Is it due to Localisation? Localisation = Singapore
    Please advise.
    Regards
    Jessie

  • Mobile network symbol displays Chinese characters whilst in China instead of English

    The network carrier symbol in the status area displays in Chinese characters instead of English whilst travelling in China so that I have to go to the settings to see which carrier is selected. The phone is set to English in the region format and I have never had this on my previous Blackberry. Is it a setting or a firmware issue?

    Yup, only if your iOS device is set to English. Then yes, good Pinyin (and even some English!) shows up. I guess my only complaint now (in English) is that you really have to zoom in to see the smaller streets compared to how Google Maps showed them.
    The Hanzi is still an issue, though, in at least some other languages. I prefer English but some others in my household prefer Spanish, and when the language is set to Spanish, Hanzi shows up everywhere.

  • Why Chinese characters not showing up in JLabel correctly , sometimes ?

    I have a large program which uses a JLabel to display some Chinese characters in html, it was doing fine until the program grew larger and larger, then only html fonts in certain sizes will show up correctly, other sizes of the same fonts will show up as rectangles. It's not because it doesn't have these fonts, but it seems to be related to the complexity of the program. If I change the characters in rectangles to a different size ( smaller or larger ), they might show up correctly again (in the large program).
    I have a small test program below to see if a particular font size would show up correctly, they all showed up fine in this test, but if I try to display the same html in my large program, some sizes of characters will go wrong. I've even printed out the unicode and looked at them (6309 4f60 7684 9700 8981 ...), they are definitely in the Chinese character range.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class Java_Test extends JPanel
      static int Total=900;
      JComboBox ComboBox_Array[]=new JComboBox[Total];
      Font Times_New_Roman_15_Font=new Font("Times New Roman",0,15);
      static int Small_Chinese_Font_Size=3;
      static String Software_Info_Chinese_Text="<Html><Table Width=100% Border=0 Cellpadding=2 Cellspacing=3><Tr><Td Align=Center><Font Size=6 Color=#3737FF>[ \u4EA7\u54C1\u7BA1\u7406 ] </Font></Td></Tr>"+
                                               "<Tr><Td Align=Center><Font Size=5 Color=green>\u5E2E\u52A9\u4F60\u7BA1\u7406\u4EA7\u54C1, \u5408\u540C, \u53CA\u5176\u5B83\u4FE1\u606F :</Font></Td></Tr>"+
                                               "<Tr><Td>\u8F93\u5165<Font Size="+Small_Chinese_Font_Size+" Color=#2255BB>"+
                                                 "<li>\u8F93\u5165, \u7EF4\u62A4\u548C\u6253\u5370\u8BE6\u7EC6\u4EA7\u54C1\u53CA\u4F9B\u8D27\u5546\u4FE1\u606F<Br>"+
                                                 "<li>\u5730\u5740\u548C\u5907\u6CE8\u4FE1\u606F\u53EF\u7528\u591A\u79CD\u8BED\u8A00\u8F93\u5165<Br>"+
                                               "</Font></Td></Tr>"+
                                               "</Table></Html>";
      JPanel Main_Panel=new JPanel();
      static boolean Exit_When_Window_Closed=false;
      Java_Test(String Test_String)
        for (int i=0;i<Total;i++) ComboBox_Array=new JComboBox();
    JLabel A_Non_English_Label=new JLabel(Test_String);
    A_Non_English_Label.setFont(Times_New_Roman_15_Font);
    A_Non_English_Label.setForeground(Color.BLUE);
    add(A_Non_English_Label);
    setPreferredSize(new Dimension(600,300));
    void Show_Up()
    Main_Panel.add(this);
    Dimension Screen_Size=Toolkit.getDefaultToolkit().getScreenSize();
    final JFrame frame=new JFrame("Java Test");
    frame.add(Main_Panel);
    frame.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e) { if (Exit_When_Window_Closed) System.exit(0); }
    public void windowDeiconified(WindowEvent e) { Main_Panel.repaint(); }
    public void windowGainedFocus(WindowEvent e) { Main_Panel.repaint(); }
    public void windowOpening(WindowEvent e) { Main_Panel.repaint(); }
    public void windowResized(WindowEvent e) { Main_Panel.repaint(); }
    public void windowStateChanged(WindowEvent e) { Main_Panel.repaint(); }
    frame.pack();
    frame.setBounds((Screen_Size.width-Main_Panel.getWidth())/2,(Screen_Size.height-Main_Panel.getHeight())/2-10,Main_Panel.getWidth(),Main_Panel.getHeight()+50);
    frame.setVisible(true);
    Main_Panel.updateUI();
    static void Out(String message) { System.out.println(message); }
    public static void main(String[] args)
    Exit_When_Window_Closed=true;
    new Java_Test(Software_Info_Chinese_Text).Show_Up();
    final Java_Test demo=new Java_Test(Software_Info_Chinese_Text);
    Dimension Screen_Size=Toolkit.getDefaultToolkit().getScreenSize();
    final JFrame frame=new JFrame("Java Test");
    frame.add(demo);
    frame.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e) { System.exit(0); }
    public void windowDeiconified(WindowEvent e) { demo.repaint(); }
    public void windowGainedFocus(WindowEvent e) { demo.repaint(); }
    public void windowOpening(WindowEvent e) { demo.repaint(); }
    public void windowResized(WindowEvent e) { demo.repaint(); }
    public void windowStateChanged(WindowEvent e) { demo.repaint(); }
    frame.pack();
    frame.setBounds((Screen_Size.width-demo.getWidth())/2,(Screen_Size.height-demo.getHeight())/2-10,demo.getWidth(),demo.getHeight()+38);
    frame.setVisible(true);
    I called this test program from my large program, and it won't display correctly, it will only display all sizes of characters correctly if I run the test program by itself.
    I've posted a similar question in Java/Swing but got no answer. So I'm trying it here. The above test program will compile and run, it can display all sizes of html fonts correctly.Which means it's not lacking any fonts. I've even tried the following in my large program :
    dialog.validate();
    dialog.repaint();
    pane.validate();
    pane.repaint();
    pane.updateUI();
    A_Label.validate();
    A_Label.repaint();
    A_Label.updateUI();
    Still doesn't work, does anyone know why and how to fix it ?
    Frank                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I've just made a breakthrough, the large program will work correctly if I comment out : A_Non_English_Label.setFont(Times_New_Roman_15_Font);
    But then the font doesn't look the way I wanted it to be.
    So I changed it to the following :
    ================================================
    Font Courier_New_15_Font=new Font("Courier New",0,15);
    A_Non_English_Label.setFont(Courier_New_15_Font);
    ================================================
    Now it looks not the same but similar to the way I wanted. Thus my question becomes : why it can't work correctly with "Times_New_Roman", but with "Courier_New" in the large program, they both displayed correctly in my small test program ? Is it because it takes too much resource to load the "Times_New_Roman" font ?
    Frank

  • Chinese Characters in SQL Plus

    Hi, I wonder how do I input the chinese characters in SQL plus? I have set the NLS_LANG value to chinese characterset in the REGEDIT but it doesn't display the chinese characters. Is there any chinese version on Oracle JDeveloper Suite?
    Cheers

    i have installed sqlplus and oracle db in the same PC under chinese win xp.
    i found that if you spool the output to a text file, and type in dos-prompt, it still cannot display the chinese character properly. but if you open the text file by notepad, bingo, you can the chinese character.
    i think that it is because dos-prompt application is non-unicode application. so it could not display unicode character properly.
    as a result, if you want to display unicode character in non-unicode application (run sqlplus under dos-prompt), you have to set the NLS_LANG environment variable which match the character set of non-unicode application which your operating system assigned. in my case, it should be Big5. then oracle would do the conversion for you automatically, i.e. from unicode in DB to Big5 in client.
    I either set the NLS_LANG environment variable in one of the 2 ways:
    NLS_LANG=american_america.zht16big5 or
    NLS_LANG=american_america.zht16hkscs
    Regards,
    KH

Maybe you are looking for

  • I need to reset my MacBook pro to its 'Out of the Box' settings

    Hey All,      I'm selling my MacBook pro and need to reset it to its 'Out of the Box' settings. I bought it at Best Buy and it came with pre-installed Mac OS X. It's up to date on software and whatnot. I'm selling it through Ebay ands thats why I nee

  • Taking a picture with iSight camera

    I've heard of people taking pictures with their iSight camera remotely. Can anyone tell me the command to do this? Apple Support does not know how. thanks, Mike

  • HT1420 I have only three computers authorized, but it's saying I have five? What should i do?

    Okay so i recently got a new laptop and i went to authorize it to sync my music, which is quite large (over 6,000 songs), and it told me i already have five computers authorized. There are only two other computers in the house that have authorization

  • Buying a new Mac Pro

    Hello, After many happy years with my G4 and using my MacBook Pro for higher end editing I am finally getting around to replacing the G4 with a brand new Mac Pro. It will be used manly for video editing so I will get the best model available. Here is

  • Registration is removed after sendNotification call

    Hi All,    I am using Java and com.windowsazure.messaging.NotificationHub wrapper to push notifications to mobile devices. I can successfully register my Android device and then call getRegistration() method without problem, it returns correct result