Problems displaying Chinese characters

Safari cannot display Chinese characters from time to time. It would work in one session but it failed to display Chinese characters in another session even with the same settings in the Preferences. Can anyone give me some advice please?

Safari cannot display Chinese characters from time to
time. It would work in one session but it failed to
display Chinese characters in another session even
with the same settings in the Preferences. Can
anyone give me some advice please?
The preferences don't necessarily matter. You most likely need to adjust the encoding in View > Text Encoding. If you will provide the url of an example page where you have a problem I can probably offer more specific help.

Similar Messages

  • Problem displaying chinese characters

    I have got the problem with displaying chinese characters in the webpage after fetching the data from database.
    I am using Oracle IAS webserver and oracle 8i as the database which is in UTF-8 characterset.I am getting the out put in the chinese if I use this code.
    String value1 = new String(value.getBytes("ISO8859_1"), "GB2312");
    I am getting the out put using this code in this format
    ��������
    比分卡片 basically this code does that.(String value1 = new String(value.getBytes("ISO8859_1"), "GB2312");)
    But some body told me that I have to do some settings in the server.I am using oracel IAS.Can you suggest me any thing?.
    Here is my full code
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
    <%@ page import="java.nio.charset.Charset,java.util.Locale,org.apache.struts.action.*,java.io.*,javax.naming.Context,java.sql.Connection,javax.sql.DataSource,javax.naming.InitialContext,java.sql.*" %>
    <HTML><HEAD><TITLE>Welcome to METRO</TITLE>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Encoding" content="UTF-8"/>
    </HEAD>
    <BODY >
    <style type="text/css">
    .tb {      
    border: 1px solid #ddd;
    border-collapse: collapse;
    font-family:arial ,sans-serif;
    font-size: small;
    height:100%;
    width:100%;
    color:#00000000;
    </STYLE>
    <%
    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 test_table where table_name='test'";
    ResultSet rs = stmt.executeQuery(sql);
    if( rs.next()){                    
    value=rs.getString(1);
    System.out.println("value="+value);
    out.println("<table class='tb'><tr><td>"+value+"</font><br>");
    String value1 = new String(value.getBytes("ISO8859_1"), "GB2312");
    out.println(""+value1+"</td></tr></table>");
    rs.close();
    stmt.close();
    dbConn.close();
    }catch(Exception e){
    System.out.println("Exception ="+e.getMessage());
    %>
    </BODY></HTML>

    Follow the steps as listed below:
    1. Is the Font available on Printer
               Goto SP01 transaction -> Enter the Spool Number -> Execute
    2. Does device type/Spool Server support the font
               Goto Transaction SPAD and click Output Devices
    3. SAP level Multibyte setting in place
               Click ALT + F12
               Select Options -> I18N
               Tick Activate Multibyte functionality
    4. Is appropriate font for the language used
              For Simplified Chinese (ZH)  language use font  CNHEI, CNKAI, CNSONG
    SAP Notes related to Fonts
    a.0000776507 SAPscript/SmartForms: Which fonts for which languages?
    b.0000323736 Restrictions with "PDF print" through spooler
    c.0000317851 Creating PDF format using the SAP spooler in 4.6C/4.6B/4.5B
    d.0000012462 How can I define a new printer font?
    e.Note 62178 Device types for the Japanese version of the R/3 System

  • Hi, am trying to display chinese characters

    hi,..i have problem displaying chinese characters using the reporting tools. i even changed the .jsp to use UTF8 encoding but the jsp doesnt display the correct chinese characters. Anyone can help ?

    Hi Teo Kai Liang,
    In order to display UTF-8 characters in the web output of your report, when it is deployed using the JSP engine (instead of rwservlet), you would need to add the following tag to its JSP web source in Reports Builder, between the <HEAD> and </HEAD> tags:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    This will tell the browser to display text using the specified character set. I have verified this using a report containing some static Simplified Chinese text in its web source.
    Thanks,
    The Oracle Reports Team.

  • Problems in displaying chinese characters with utf-8 encoding

    Hi,
    I got problem in displaying chinese characters in my web application.
    I am creating a web application supporting both English and Chinese charaters. What I am trying to do is:
    1. storing some chinese characters via a web page (page1) into database.
    2. retrieve the chinese characters via another web page (page2) from the database.
    Once I put the Chinese characters on the webpage (page1 in step #1), it displayes well (the readable chinese characters) before I submit this page (after submit, the data will be stored into the database).
    But when I tried to display the chiese characters via page2 in step#2, I got un-readable characters displayed.
    The running configuration is: Sun Application Server (coming and with the JSC2) and MySQL server 5.0. And I setup the database server with utf8 as character-set.
    It seems like the chinese characters got messed up throught the round-trip (from page1<----via jdbc---->database<----via jdbc------>page2).
    From the database, I found the chinese characters are there. Any helps are appreciated.

    Hi,
    I am trying to insert new record.The record may contain chineese or English data.
    I did same what u specified.
    first I converted to the byte UTF8.again,I converted byte to string using 8859_1.
    the values are not storing chinese characters.
    pls suggest me.
    below is my code.
                                  ascCode = req.getParameter("asccode");
                                  countryCode = req.getParameter("countrycode");
                                  ascName      = req.getParameter("ascname");
                                  address1     = req.getParameter("ascaddress1");
                                  address2 = req.getParameter("ascaddress2");
                                  System.out.println("ASC NAME:"+ascName);
                                  System.out.println("ADDRESS1:"+address1);
                                  System.out.println("ADDRESS2:"+address2);
                                  ascC = ascCode.getBytes("UTF8");
                                  coun = countryCode.getBytes("UTF8");
                                  ascN           = ascName.getBytes("UTF8");
                                  add1 = address1.getBytes("UTF8");
                                  add2          = address2.getBytes("UTF8");
                                  System.out.println("ASC NAME:"+ascN);
                                  System.out.println("ADDRESS1:"+add1);
                                  System.out.println("ADDRESS2:"+add2);
                                  ascCode = new String(ascC,"8859_1");
                                  countryCode= new String(coun,"8859_1");
                                  ascName = new String(ascN,"8859_1");
                                  address1 = new String(add1,"8859_1");
                                  address2 = new String(add2,"8859_1");
                                  System.out.println("ASC NAME:"+ascName);
                                  System.out.println("ADDRESS1:"+address1);
                                  System.out.println("ADDRESS2:"+address2);
    thanks.

  • Chinese Data Fields not displaying Chinese Characters

    Hi There,
    Wonder if someone can help. We are currently running reports in Crystal 8.5 but are in the process of upgrading our business systems to latest version and this includes converting all our Crystal 8.5 reports to Crystal Reports XI R2 SP4.
    During the process we are experiencing some difficulties in displaying Chinese characters, which have previously worked fine in version 8.5. The system we are running Crystal from has Oracle client 11 installed and the OS system locale is set to Chinese PRC. Our application is displaying Chinese characters properly and if we have any text fields on the report, these are also displaying properly when changing Font to Arial Unicode MS. The only thing that doesn't display properly is the field data which after checking has the correct Chinese data stored in the database. For some reason Crystal 11.5 doesn't seem to be transferring the data correctly which points to some sort of encoding problem.
    Is there something I am missing here or is there something else I need to install for this to work?
    Any hep would be appreciated.

    What is your Oracle database's language set? Is it set to UTF-8 or non UTF-8 (such as American_America.WE8ISO8859P1" )?
    There is a similar issue tracked under ID ADAPT00528561 (Crystal cannot display non-UTF-8 Chinese characters from an Oracle database ) and has been fixed and you should set the following registry key to make it effective:
    Set the following registry key "UseOSLocaleForConversion" to "Yes" under:
    HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Crystal Reports\Database\Oracle

  • Cannot Input and Display Chinese Characters by using ODBC Applications

    Dear all,
    I am trying to input the Simplified Chinese Characters in the Oracle Database Ver 9.2 running on a UNIX AIX server. The client application we are using is th MS Access 2003 running on a MS Windows XP English version SP 2 without multi-language pack. MS Office 2003 is also an English version.
    Database setting is:
    NLS_CHARACTERSET=US7ASCII
    NLS_NCHAR_CHARACTERSET=AL16UTF16
    The Oracle Client used is also ver 9.2 with the ODBC driver ver 9.2. I have tried the following NLS_LANG settings by chaging the registry without any NLS_LANG environment settings:
    AMERICAN_AMERICA.ZHT16MSWIN950
    AMERICAN_AMERICA.ZHS16GBK
    AMERICAN_AMERICA.ZHT16HKSCS
    AMERICAN_AMERICA.AL32UTF8
    I have tied to load some Chinese Characters in by sqlload and by using the NLS_LANG AMERICAN_AMERICA.ZHT16MSWIN950, AMERICAN_AMERICA.ZHS16GBK and AMERICAN_AMERICA.ZHT16HKSCS, they can be display perfectly in SQLPLUS. But when using the same NLS_LANGs and display in the ACCESS, only ???? are displayed.
    When I tried to insert Chinese in ACCESS, the character changed to ???? again. No matter what Chinese characters I inserted by MS ACCESS, the ???? code can be dump with the binary code "03, 0f".
    Are there any methods or settings I need to change to make ACCESS an application for inserting and displaying Chinese characters from the Oracle database?
    I have tried to set the Non-Unicode setting in the Windows Locale setting:
    Chinese (Taiwan) (With AMERICAN_AMERICA.ZHT16MSWIN950),
    Chinese (Hong Kong S.A.R) (with AMERICAN_AMERICA.ZHT16HKSCS) and
    Chinese (PRC) (with AMERICAN_AMERICA.ZHS16GBK)
    when inserting the Chinese Characters by Access. But they all failed with ???? inserted in the DB.
    Please kindly advise what should be done.
    Thanks.

    Are you trying to store the character data in char/varchar2 columns?
    If that's the case then you have a problem, since a US7ASCII character set can only handle, well, ascii data.
    If you are trying to store the data in columns of nchar datatypes, then there might be a problem with literals because literals are converted to database character set first, before conversion to national (nchar) character set. Such data loss can also happen depending on how binds or oci calls are performed.
    You could use the dump() function to verify what's actually stored in a database column, without a db - client conversion happening that may distort the facts.
    Example:
    SQL> select col, dump(col, 1016) from table where some_condition;

  • Problem fetching Chinese Characters over DB Link

    Hi,
    I'm currently fetching data from SQL Server 2005 through a DB Link I created in my Oracle XE 11g. Some of these data are in Chinese Characters.
    When doing a SELECT statement from the table using SQL Developer, it shows me ?????. When doing the same SELECT directly to the SQL Server using MS SQL Server Management Studio, it shows the correct character in Chinese.
    Is there a setting so that I can properly fetch the data in my Oracle Database?
    EDIT: Sorry forgot to provide NLS settings.
    SQL> col parameter format a30
    SQL> col value format a40
    SQL> select * from nls_session_parameters;
    PARAMETER                      VALUE
    NLS_LANGUAGE                   SIMPLIFIED CHINESE
    NLS_TERRITORY                  CHINA
    NLS_CURRENCY                   úñ
    NLS_ISO_CURRENCY               CHINA
    NLS_NUMERIC_CHARACTERS         .,
    NLS_CALENDAR                   GREGORIAN
    NLS_DATE_FORMAT                DD-MON-RR
    NLS_DATE_LANGUAGE              SIMPLIFIED CHINESE
    NLS_SORT                       BINARY
    NLS_TIME_FORMAT                HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY              úñ
    NLS_COMP                       BINARY
    NLS_LENGTH_SEMANTICS           BYTE
    NLS_NCHAR_CONV_EXCP            FALSE
    17 rows selected.
    SQL>Thanks,
    Allen

    Allen Sandiego wrote:
    sb92075 wrote:
    Allen Sandiego wrote:
    Hi,
    I'm currently fetching data from SQL Server 2005 through a DB Link I created in my Oracle XE 11g. Some of these data are in Chinese Characters.
    When doing a SELECT statement from the table using SQL Developer, it shows me ?????. When doing the same SELECT directly to the SQL Server using MS SQL Server Management Studio, it shows the correct character in Chinese.
    It appears that you have a data display problem & I am not convinced that it has anything to do with XE;
    just SQL Developer.
    When was the last time SQL Developer properly displayed Chinese characters?Hi,
    I've never had any chance to view Chinese characters before in SQL Developer. This is my first attempt.
    EDIT: I tried the following SELECT statement in SQL Developer and it seems to display the Chinese character just fine.
    select unistr('\8349') from dual;So I'm guessing the problem was while I was trying to fetch the data from the SQL Server DB.The data is good in the SQLServer DB & SQL Developer can display when it gets them.
    so problem is with the ODBC between the two systems.

  • 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

  • How display chinese characters?

    Hi all,
         I want to display chinese characters in JTextPane/JTextField. I code a small program to try but can't get the correct result. The following is my program.
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    import java.awt.*;
    public class TestBig5 extends JFrame {
         public TestBig5() {          
              String str = readInput();     
              JTextField tp = new JTextField();
              tp.setFont(new Font("Kai (big5.eten.3.10-1)",Font.PLAIN,16));
              tp.setLocale(Locale.TAIWAN);
              tp.setText(str);
              getContentPane().add(tp);
              pack();          
              setVisible(true);          
    static String readInput() {
    StringBuffer buffer = new StringBuffer();
    try {
    FileInputStream fis = new FileInputStream("testbig5.txt");
    InputStreamReader isr = new InputStreamReader(fis, "Big5");
    Reader in = new BufferedReader(isr);
    int ch;
    while ((ch = in.read()) > -1) {
    buffer.append((char)ch);
    in.close();
    return buffer.toString();
    } catch (IOException e) {
    e.printStackTrace();
    return null;
         static public void main(String args[]) {
              new TestBig5();
    The problem is that the JTextField only shows blank space.
    testbig5.txt is a text file that contains big5 encoding characters.
    "Kai (big5.eten.3.10-1)" is the only chinese font in my system, and I can use it to display chinese characters in netscape. And the file testbig5.txt can also be displayed in netscape correctly.
    I have also tried to use font.properties.zh_TW_Big5 but still no success.
    please advise what should I do so that the problem can be fixed. And following is my system config.
    Sco unix 5.0.5
    JDK 1.2.2
    Thanks in advance.
    Anson

    (1) First of all use FileReader and not inputstreams. The diff. is that streams are not unicode compliant whereas readers are.
    (2) Similary use only generic fonts.For example, this prints fine for me
    jTextField1.setFont(new java.awt.Font("Serif", 0, 12));
    jTextField1.setText("Serif \u65e5\u672c\u8a9e");
    [email protected]
    HP

  • Displaying Chinese Characters in JFrame

    I was trying out some sample code in "Java Internationalization" for Chinese, and I am having problems viewing Chinese characters in JFrame. They show up as squares/rectangles instead of glyphs. I read that I needed to download Microsoft's Arial Unicode. I went to the site and discovered that Microsoft's TrueType core fonts for the Web are no longer available for download.
    Am I doing something wrong in the code? If the code is OK what should I do?
    The following is code based out of the O'Reilly book:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class NoInChinese extends JPanel {
    static JFrame frame;
    static String aSentence = "No in Chinese is, \u4e0d.";
    public NoInChinese(String characters) {
    Font theFont = new Font("Bitstream Cyberbit", Font.PLAIN, 20);
    JTextArea area = new JTextArea(characters, 2, 30);
    area.setFont(theFont);
    area.setLineWrap(true);
    JScrollPane scrollpane = new JScrollPane(area);
    add(scrollpane);
    public static void main(String argv[]) {
    NoInChinese chinesePanel = new NoInChinese(aSentence);
    frame = new JFrame("Test");
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}
    frame.getContentPane().add("Center", chinesePanel);
    frame.pack();
    frame.setVisible(true);
    Aggie

    Thanks fsato4, i have set the font to SimSun and can display the chinese char in unicode.
    However, i modified the source code a little to read from resource bundle. Here's my codes:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.text.MessageFormat;
    public class NoInChinese extends JPanel {
      static JFrame frame;
      static String aSentence = "No in Chinese is, \u4e0d.";
      Font font = new Font("SimSun",Font.PLAIN, 12);
      private static ResourceBundle messages;
      public NoInChinese(Locale currentLocale,String characters) {
        messages = ResourceBundle.getBundle("rb",currentLocale);
        JTextArea area = new JTextArea(characters, 10, 30);
        area.setFont(font);
        area.setLineWrap(true);
        area.append(System.getProperty("line.separator"));
        // this line will show glyph.
        //area.append(convert(messages.getString("FileMenu")));
        // this line will show the correct char
        area.append(convert(messages.getString("FileMenu")));
        area.append(System.getProperty("line.separator"));
        area.append(convert(messages.getString("EditMenu")));
        area.append(System.getProperty("line.separator"));
        area.append(convert(messages.getString("CancelMenu")));
        JScrollPane scrollpane = new JScrollPane(area);
        add(scrollpane);
      public static String convert(String theString) {
        String theNewString = theString;
        // String encoding = "CP1252";
        String encoding = "ISO-8859-1";
        String newEncoding = "GB18030";
        if (newEncoding != null) {
          try {
            byte[] convertedBytes = theString.getBytes(encoding);
            theNewString = new String(convertedBytes, newEncoding);
          } catch (Exception e) {
            System.err.println("Not able to convert " +
                                encoding + " " + newEncoding);
        return theNewString;
      public static void main(String args[]) {
        Locale currentLocale = new Locale("zh", "CN");
        NoInChinese chinesePanel = new NoInChinese(currentLocale,aSentence);
        frame = new JFrame("Test");
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {System.exit(0);}
        frame.getContentPane().add("Center", chinesePanel);
        frame.pack();
        frame.setVisible(true);
    }If i just read the unicode string from the resource bundle and display, glyph char will display. I have to use the convert method to read in as encoding "ISO-8859-1" then form a new string with GB18030, then i am able to see the display correctly.
    Why is this so?
    My resource bundle file looks like that:
    FileMenu=\u00ce\u00c4\u00bc\u00fe
    EditMenu=Edit
    CancelMenu=\u00c5\u00c5\u00b3\u00fd
    Thank you!

  • Displaying chinese characters in browser

    Dear sirs,
    I am having the following issue in chinese internationalization.when i stored the JSP form parameters(typed in chinese) in database,it stored some kind of junk characters ....and when i displayed ,they showed like SMALL SMALL tables.... in my browser.
    Our project is java based web application.
    Java-1.5
    Mysql-5.0.24
    tomcat-5.5
    JSP-1.2
    servlet-2.0
    browser-mozilla firebox
    I set in my all JSP pages,
    ----->1.<%@ page contentType="text/html;charset="UTF-8" pageEncoding="UTF-8"%>
    ----->2.<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    in my JAVA files,i added,
    ----->String encode=ServletContext.getInitParameter("javaEncoding");
    ----->request.setCharacterEncoding(encode); (it gets encoding UTF-8 from web.xml file)
    In my MYSQL,i set...
    ----->mysql --default-character-set=utf8 -username -password -database
    so,i changed client,connection,results,system charactersets " utf8" and connection collation is "utf8".
    In my DATABASE connection String...i added,
    ------>useUnicode=true&characterEncoding=UTF-8
    In my TOMCAT web.xml file..i added these lines as i am using POST method for form.
    <context-param>
    <param-name>javaEncoding<param-name>
    <param-value>UTF-8<param-value>
    <context-param>
    still .i am unable to display chinese characters in my browser.
    but.when i am using getBytes() for all form parameters in JAVA file....i m able to store chinese in db and dispay in browser ....
    String param;
    ---->String param=newString(param.getBytes("ISO8859-1"),"UTF-8");
    Could anyone tell me another method for displaying chinese except this getBytes()..
    please help me out. i am trying to find out an alternative server-independent method for past two weeks.
    Advance thanks for reading and help.
    mullaimaran.

    Hi one_dane &Mr.Clap,
    Thank you for your help.
    At last i displayed chinese characters with out using getBytes() and web.xml configuration.
    My settings for displaying chinese....
    JSP :
    1<%@ page contentType="text/html;charset="UTF-8" pageEncoding="UTF-8"%>2.<HEAD>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    </HEAD>JAVA(Servlet):
    request.setCharacterEncoding("UTF-8");MYSQL:
    Mysql connection String...i added,
    ----> useUnicode=true&characterEncoding=UTF-8i m using linux terminal for mysql login.
    bash]$  mysql --default-character-set=utf8 -username -password -database nameSo, i changed these settiings in database
    mysql> show variables like '%char%';
    +--------------------------+----------------------------+
    | Variable_name | Value |
    +--------------------------+----------------------------+
    | character_set_client | utf8 |
    | character_set_connection | utf8 |
    | character_set_database | utf8 |
    | character_set_filesystem | binary |
    | character_set_results | utf8 |
    | character_set_server | utf8 |
    | character_set_system | utf8 |
    | character_sets_dir | /usr/share/mysql/charsets/ |
    +--------------------------+----------------------------+and set collation....
    mysql> show variables like '%col%';
    +---------------------------+-------------------+
    | Variable_name | Value |
    +---------------------------+-------------------+
    | collation_connection | utf8_general_ci |
    | collation_database | utf8_general_ci |
    | collation_server | utf8_general_ci |Once again thank you....for help.Keep your assistance in this forum.
    mullaimaran.

  • Displaying Chinese characters in SQL*Plus

    DB version: 11.2
    OS Version : AIX 6.1
    DB characterset:AL32UTF8
    To display chinese characters in SQL*Plus, I did the following:
    $ export LANG=zh_CN.UTF-8
    $ export LC_ALL=zh_CN.GB2312
    $ export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
    $
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on ÐÇÆÚÈý 5ÔÂ 2 15:52:33 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning option
    SQL> ALTER SESSION SET NLS_LANGUAGE='SIMPLIFIED CHINESE';
    Session altered.
    SQL> ALTER SESSION SET NLS_TERRITORY='CHINA';
    Session altered.
    SQL> select unistr('\8349') from dual;  ---- not 100% sure if this is the way to verify if chinese characters can be displayed.
    UN
    ²Ý                 ----------------------------------------> Getting a junk character instead of chinese If I was using putty, are the above steps enough to get chinese characters displayed ?
    Our ssh client is Tectia (not putty).
    According the below ML Note, the SSH client has to configured correctly to use globalization features.
    +The correct NLS_LANG setting in Unix Environments [ID 264157.1]+
    Googling "Tectia + Chinese" didn't return useful results

    I understand that you are talking about Windows SSH Client.
    For Putty, you should set:
    $ export LANG=zh_CN.UTF-8
    $ export LC_ALL=zh_CN.UTF-8
    $ export NLS_LANG="SIMPLIFIED CHINESE_CHINA.AL32UTF8"
    and configure Putty in Window->Translation to use UTF-8.
    There is nothing about this subject on Tectia website and in their manuals, so my best guess is that the client requires Windows code page to work correctly. In such case you need to set your Windows system default locale (locale for non-Unicode programs) to Chinese and use the following settings on the server:
    $ export LANG=zh_CN.GBK
    $ export LC_ALL=zh_CN.GBK
    $ export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
    Verify with 'locale -a' that the setting zh_CN.GBK is supported on your system.
    -- Sergiusz

  • JEditorPane -- displaying chinese characters in browser

    Is it possible to display chinese characters in an applet in a browser, I have read Jaric S.'s article on it.. but it is a little confusing.. however without doing any of that coding I have chinese showing up on one machine in IE, but not on any other machines with IE. Any thoughts anyone?

    Is it possible to display chinese characters in an
    applet in a browser, I have read Jaric S.'s article on
    it.. but it is a little confusing.. however without
    doing any of that coding I have chinese showing up on
    one machine in IE, but not on any other machines with
    IE. Any thoughts anyone?Browser Java is particularly sensitive to the version of Java the browser supports. Some browser companies, notably Microsoft, haven't updated their Java implementation in 4 years. Likewise users who are using old versions of other browsers probably have old versions of Java. This makes it very hard to predict how anything will work when it depends on a browser's VM.
    There are two ways to combat this. First you can use Sun's Java Plugin to replace the VM used by your browser with a modern one that supports your applet. Second, you can use Java WebStart which allows programs to be launched from a browser but run in an independant VM. These two things might help you get consistent results for your applets.
    Hope this helps,
    Brian.

  • How to display Chinese characters in Oracle?

    I am using Oracle 8i with Language settings as AMERICA.
    I am displaying records which is contain Chinese characters.
    But it is not displayed properly in Oralce.
    How to change the settings to display Chinese characters?
    Thanks

    It could be possible to display Chinese characters using SQL Developer without any specific NLS_LANG setting because SQL Developer is using JDBC which doesn't use NLS_LANG setting according to When is NLS_LANG used ?.
    For example, I'm able to display the following Chinese character in SQL Developer 1.2.0 on Windows XP Pro with French Windows setting and NLS_LANG set in Windows registry to FRENCH_FRANCE.WE8ISO8859P1.
    select unistr('\8349') from dual;

    [pre]
    Message was edited by:
            Pierre  Forstmann                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Displaying Chinese Characters in a JLabel

    I wish to display Chinese characters in a JLabel WITHOUT setting the JLabel's font. The following code works fine under Java 1.4.x for Mac OSX, and Java 1.5 for Windows. However, the characters do NOT display properly under Java 1.4.x for Windows. Does anyone have any idea why? I really need to get this to work under 1.4.x for Windows without having to call JLabel.setFont(...). Maybe it's a known bug in 1.4.x that has a workaround (hopefully)?
            javax.swing.JFrame frame = new javax.swing.JFrame("Chinese Test");
            JLabel label = new javax.swing.JLabel("\u54C8\u7F57", javax.swing.JLabel.CENTER);
            frame.getContentPane().add(label, java.awt.BorderLayout.CENTER);
            frame.getContentPane().setSize(200, 200);
            frame.setLocation(50, 50);
            frame.setSize(200, 200);
            frame.setVisible(true);

    1. I do not wish to set the Font on the label(s) because we have localized our application in many languages using a custom localization scheme and I do not want to change all of the code.
    2. Yes, I have all the forms of Chinese installed on my Windows system.
    3. I found that if I use an HTML string of the form: <html><body><font face="SimSun">\unicode chinese chars...
    then THAT WORKS. The JLabel renders the String in Chinese. This might be a good option for us.
    4. All of it works automatically without the need for an HTML String under Java 1.5 because evidently 1.5 has built-in support for setting the proper font on the widget after analyzing the unicode characters.
    - Eric

Maybe you are looking for

  • How do I get rid of logon pop up in CRM_UI_START

    When I use https://<host>:Port/sap/bc/bsp/sap/crm_ui_start/default.htm as a shortcut link on desktop or used via crm_ui transaction in SAP-GUI  => The browser is started with a logon screen showing fields for user and pasword to fill and no popup for

  • Office Standard 2013 Key Management Service host 32-bit or 64-bit version ?

    Hello, I have a 2012 DomainController serving as our KMS host. I need to activate 2013 Lync 32-bit clients so I will have to install the office 2013 KMS host. The KMS host download is available in both 32-bit and 64-bit. Should I download the 64-bit

  • How To validate Excise Invoice Posting date(J1iin)  equals to Billing Date

    Hi Experts I have required to validate Excise invoice Posting Date(J1iin) should be equal to Biiling date . Can anyone suggest me which user exit i will use for it. Waiting 4 reply. Regards Prateek

  • Help with faulty monitor

    Hi all I have a 19" CRT monitor which I use with my G5. The monitor has developed a fault and I wonder if anyone might be able to help diagnose what the problem is. Whenever there is a large area of white on the screen the picture develops a high fre

  • Another '911 Entire Movie Project Trashed'

    My daughter had a major video project that just vanished tonight. When she goes to open the project the message ""A Project File is Missing The file "_" couldn't be opened and is being skipped. Click "Ignore All" to skip any remaining missing file me