Can't display *proper* Chinese char in v3.0.04 connecting to MySQL

Hello to all guru,
I am having some trouble on displaying Chinese characters on SQLDeveloper connecting MySQL database...
Database: MySQL 5.5.17, for Win32 (x86)
SQLDeveloper: 3.0.04
JDBC: Connector/J 5.1.18 from MySQL
Connection has no problem, retrieving data also great.
Using mysql.exe at Windows Command Prompt, it could display the proper Chinese characters perfectly...
mysql> SHOW VARIABLES LIKE 'character_set_system';
-----------------------------+
| Variable_name | Value |
-----------------------------+
| character_set_system | utf8 |
-----------------------------+
1 row in set (0.09 sec)
mysql> select display_name, display_name_chi
-> from contact
-> where display_name = 'David Chan';
--------------------------------+
| display_name | display_name_chi |
--------------------------------+
| David Chan | 陳大衛 |
--------------------------------+
1 row in set (0.00 sec)
Run the same select query on SQLDeveloper, it shows...
display_name     display_name_chi
David Chan     ³¯¤j½Ã
On SQLDeveloper, Tools > Preferences > Database > NLS, there seems to have some NLS settings to play with, and default settings are:
Language: AMERICAN
Territory: AMERICA
Tried changing to the followings...
Language: TRADITIONAL CHINESE
Territory: TAIWAN
Still displaying the monster characters... I haven't tested to see if SQLDeveloper would behave the same while connecting to Oracle Database, and I am thinking maybe just the Java GUI's issue?!
Can anyone give me some idea?

Hi,
Here is a post that provides a solution for a similar Chinese language situation related to the Oracle JDBC driver:
Re: Can't select using special characters (symbols)
Perhaps you will be able to find something equivalent for the MySQL driver.
Regards,
Gary
SQL Developer Team

Similar Messages

  • Can Not Display Normal Chinese Chars in JSP

    Hi,
    I am displaying some chinese chars in a normal JSP file but it show me some
    funny things. If I get the data from the oracle and the information is chinese,
    then it display correctly. And I try another thing that I save the noraml JSP
    (without any java code) to a html and it is working fine. Same content, if saved
    as HTML, then ok. If saved as JSP, then got problem. I am using weblogic 6.1.
    There are somewhere need to be configure or... Any idea for this? Thank you
    very much!
    yang lin

    Hi Howard,
    if i use Font.createFont() to general font object that
    can solve chinese display problem in RH 7.3. but i
    thought, it's no reasonable way to use font object.
    that is really bad for cross-platform benefit or you
    need to carry font file with your application.
    have a way to set default font use createFont()
    object?In the past, I've carried the font file around with me. Given the number of graphics files, properties files and
    other assorted garbage that apps are already carrying around, it's not too unreasonable to have to add a
    TrueType font to the list of hangers-on (unless it's the size of Arial Unicode MS - 23Mb is a big ask sometimes)!
    Given that TrueType fonts themselves are essentially platform-independent, I don't see it as too much of an issue. But that's just me and my experiences! ;-)
    To set the font as default...
    try {
        FileInputStream fis = new FileInputStream("myFont.ttf");
        Font defaultFont = Font.createFont(Font.TRUETYPE_FONT, fis);
        setFont(defaultFont);
    } catch (FontFormatException ffe) {
        System.err.println("My TrueType font is corrupted.");
    } catch (IOException ioe) {
        System.err.println("My I/O stuffed up.");
    }There are various ways to set the font in even better ways, particularly if you're in a standalone app, but the above is at least a good basic one.
    Hope that helps,
    Martin Hughes

  • How can i display chinese character in asp?

    ---windows2003
    ---iis6.0
    ---oracle92010
    ---oo4o
    oracle character set is we8mswin1252
    sqlplus display chinese character normally.
    when i export the oracle table into microsoft excel,the excel can display chinese character normally.
    but when i write code in asp.The IE can not display the chinese character?
    who would tell my why?
    Message was edited by:
    user525971

    Hi,
    here's a link to the SQL Developer forum: SQL Developer
    Frank

  • DSO content can't display Chinese character

    Hello experts,
    I extract data from non-sap system (non-unicode) to BW DSO (7.0 unicode).
    The DTP, data extraction and the activation all work fine.
    However, the content of the DSO can't display the Chinese character.
    Is there any setting I miss?
    How can it display Chinese character as the data in source system?
    Any information is very appreciated.
    Thanks in advance.

    Hi,
    Make sure Chinese Language Patch applied on BW system. You can see Chinese does not mean Chinese Language Patch applied.
    However, even if Language Patch is not applied, you still can see Chinese in reports via Portal.
    Good luck
    Jonas

  • How can i display digits in Chinese Format

    Hi,
    How can i display the digits in Chinese Format?
    Suppose i have a number 15 as a value.
    Now in Locale Chinese(Taiwan) it should display the digit as a combination of Chinese character for 10 + 5.
    So could anyone please tell me what should i do for it?
    Thanks,
    Pinakin Ariwala

    I think my question is not much clear so let me give you some more detail
    There is a special characters available for a digits like 10,20 ,30 ,100 etc so when we want to represent the number 15 it should be displayed as a combination of chinese character for 10 and chinese character for 5.
    similarly if we want to display 115 then it should 100+10+5 ..
    so please anyone suggest me the way ito go?
    Pinakin Ariwala

  • How can I display char if a variable is null

    Hi All,
    How can I display char if a variable is null  in sap business object
    item name
    Office Visits
    Non-Emergency ED Utilization
    Non-Preferred Pharmacy
    above items are value and they are populating for this month but form next month "Inpatient Stays" a new item will add at database level
    i want to display this item with current month
    final result should be
    item name
    Office Visits
    Non-Emergency ED Utilization
    Non-Preferred Pharmacy
    Inpatient Stays
    i have tried with ISNULL function but it is not working
    please help i am using SAP BO 3.1
    Thanks in Advance
    Ranjeet

    You should be able to findout NULL using isnull([object]) function.. at report layer..
    Try with the below formula which should work for you
    =If Isnull(trim([object])) then "Inpatient Stays" else [Object]

  • Web.show_document cannot display file with Chinese char in IIS 6

    Dear all,
    There is a problem that web.show_document cannot display file with Chinese char in IIS 6, but works fine in IIS 5.
    Is it a server problem or is there any setting in server? Do you know how to solve it?
    Big Thanks
    JY

    Hi,
    As Francois mentioned, this issue has nothing to do with forms / web.show_document. web.show_document, just opens the URL specified as parameter. So, if you run the URL (that you've passed as argument for web.show_document), directly in the browser, you would be getting the same issue.
    So, as you said, if it works fine in IIS 5 and does not in IIS 6, it would be an issue with the IIS and not forms. You might want to check out the IIS 6 release notes / documentation for any known issues / raise an issue in that.
    -Arun

  • PDF can't display Chinese Text

    In Safari, I save the webpage as PDF. Then, in Acrobat X or Preview, I copy the text and Paste into other programe, like word ,etc,So,the Chinese text can't display.

    i have solve it. Just change the font.

  • Can't display Chinese Characters in JTree

    The default encoding has beed set to GB2312 by system. (I use eWin98&Richwin system)
    I can display Chinese in JEditorPane, can output Chinese using System.out.println, can read Chinese from files. BUT, I can not display Chinese in JTree, they all appear as squares.
    Is there any one can help me to solve this urgent problem? Thank you very much.

    You probably did that, but just in case you didn't i'd use
    .setFont(...);

  • Can not display Chinese on discoverer plus

    i have moved this thread to this forum from discoverer.
    Dear,
    ebs 12.0.6
    OS OUL5x64
    AS 10.1.2.3
    using bi 10.1.2.3 with discoverer
    Discoverer Version:Server 10.1.2.55.26
    when connect to the viewer like
    http:10.10.10.10:7778/viewer
    it could display the Chinese character correctly
    when connect
    http:10.10.10.10:7778/plus
    the Chinese became square boxes.
    Please advise how to fix this error.
    Regards,
    Tom

    Hi Huusein,
    i found these file in application tier, they were all upper case.
    ALBANWTJ.ttf
    -rw-rw-r-- 1 oracle oinstall 18777080 Dec 29 2006 ALBANWTK.ttf
    -rw-rw-r-- 1 oracle oinstall 18676032 Dec 29 2006 ALBANWTS.ttf
    -rw-rw-r-- 1 oracle oinstall 18788548 Dec 29 2006 ALBANWTT.ttf
    copied them over and restart the opmnctl stopall and then startall but the discoverer/plus could not display Chinese, i then renamed it to lower case according with doc # Doc ID:      340944.1
    and restart the opmnctl again but it still could not display Chinese in discoverer/plus
    these files (5) from the doc 340944.1 but my actual from appl Tier only has 4 files with all upper case.
    AlbanWTJ.ttf
    AlbanWTK.ttf
    AlbanWTS.ttf
    AlbanWTT.ttf
    ALBANYWT.ttf
    can you please give me some suggestions.
    Regards,
    Tom

  • OID can not display some users - java.lang.ArrayIndexOutOfBoundsException:0

    We have set up AD to OID synchronization for users and groups using Import connector, and it worked fine. The users in OID can log into applications protected by OAM. But recently I found that some users that could be displayed in OID before can not be displayed now. If I click on the DN in Oracle Directory Manager, a error window pops up. It is a long error message, and the first a few lines are as follows :
    0
    java.lang.ArrayIndexOutOfBoundsException:0
    at oracle.ldap.admin.AttrOptions.<init>(entry.jave:3151)
    at Oracle.ldap.admin.Entry.getProp(entry.java:457)
    I don't see any error message in the integration profile or log files. I am testing things on an account that is having this trouble, and the strange thing is that it can not log into application protected by OAM any more, but it can log into OAM console.
    We use OID 10.1.2.3 on Windows, and OAM 10.1.4.0.1.
    I searched in Metalink but didn't find anything helpful. Any help is appreciated. Thanks for your time.
    Hailie

    Pramod,
    Thank you for your reply. Please see below my answers to your questions:
    -> Do you see any pattern in the users (DN) that are unable to be displayed/login?
    Yes I do see some pattern. There is one change on the problem user's dn - the "\" after the last name is gone.
    Before: cn=smith\, john, cn=users,dc=abc,dc=com
    Now: cn=smith, john, cn=users,dc=abc,dc=com
    However I check in Active directory "\" is presented. In OID if I right click on cn=smith, john and try to delete it, I got a error message "LDAP: error code 34 - Error in DN Normalization". Is that caused by the missing of "\"?
    -> Does ldapsearch on these users (with all attributes) show something (special chars, etc)?
    ldapsearch on cn=cn=smith, john,cn=users,dc=abc,dc=com returns no objects:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    ldap_search: No such object
    ldap_search: matched: cn=Users, dc=abc,dc=com
    Ldap search on cn=smith\, john,cn=users,dc=abc,dc=com:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith\, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    dn: cn="smith, john",cn=users,dc=abc,dc=com
    uid: [email protected]
    employeenumber: 916963
    cn: smith, john
    registeredaddress: 512
    krbprincipalname: [email protected]
    orclsamaccountname: ABC.COM$JSmith
    sn: johnsmith
    displayname: John
    orclobjectguid: lJO0N+8H4UW/30yHukSfsw==
    orclobjectsid: AQUAAAAAAAUVAAAAohxTYWIV3XFeP55cYjwAAA==
    orcluserprincipalname: [email protected]
    objectclass: oblixorgperson
    objectclass: inetorgperson
    objectclass: orcluserv2
    objectclass: person
    objectclass: orcladuser
    objectclass: organizationalPerson
    objectclass: top
    obver: 10.1.4.0
    -> Do you see the same behavior when you use any generic LDAP browser (Ex: Apache Directory Studio) instead of ODM?
    I don't have Apache Directory Studio installed yet. I will try that later.
    -> Does the changelog for the particular synch (for the affected users) show something?
    Here is what I found in ActiveChgImp.aud
    (weeks ago)
    97426524 : Success : MODIFY : cn=smith\, john,cn=users,dc=abc,dc=com
    (Recently change - The back slach after smith was gone, and "" showed up)
    97469970 : Success : MODIFY : cn="smith, john",cn=users,dc=abc,dc=com
    -> If login to OAM is possible, can the user modify his/her profile, and does it save the changes? If it does, can you try logging in to apps?
    This user can log into OAM identity system, but when I click on "My profile" under "User manager", I got a error message "You do not have sufficient access rights".
    If I log into identity system as orcladmin, I was able to modify it and save the changes. But in OID the user is still not displayed. Same error message. When I tried to add it as administrator, I could search on it, add it, but when I press "done", it didn't show up on the admin list. The users that can be displayed in OID can be added to admin list without a problem.
    Thanks,
    Hailie

  • 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

  • Image Blob field can't display in designer viewer & web app

    It's very strange that my Image blob field is showing correctly in designer, but it's displaying nothing in Preview tab.
    After I deployed in to the web application in jboss, there is one error msg output to server console:
    ERROR [BlobFieldPictureCache] com.crystaldecisions.reports.dataengine.be: 某些参数缺少值
    The later part is in chinese, its meaning is some parameters are missing value.
    It's very strange.
    Anyone can help?

    I have fixed the blob image field display issue.
    It's because I have two sql query command in the report although I have joined them together.
    After I have merged them into one, the image can be displayed now.
    However, the error msg still exists.  Looks like not related to the image blob field.

  • SB Audigy Display language - chinese to engl

    Hi,?i encountered some problem with my sound blaster audigy while upgrade driver.My initial?regional and language setting?is "chinese PRC",<- for (some chinese web pupose)?but after upgrade the driver? -> SBAX_WEBUP_LB_2_08_0004.exe?my volume control and surround mixer all display in chinese character.i did try to re-install while set? regional and language setting to "English (U.S)",?but same and it keep on display chinese character which i don't like and i prefer english... but now after 4-5 times of uninstall/install, can't solve the problem..i can only seek help from all senior here...hope somebody plz enlighten me regarding this problem.... Thanks?Rgds?Message Edited by ikik on 03-7-20060:5 AM
    Message Edited by ikik on 03-7-20060:9 AM

    There should be another setting in the regional options, where it states something about the language used by non-Unicode programs. Try changing that to English and then remove and reinstall.
    However, I use a german Windows version and I do get all the Audigy programs to load up in English, and I believe it is because I simply selected English during the Installation.

  • Can't display non-unicode font

    When I try to use Symbol font and display it in JLabel, it show a square.
    i have read the article written by John O'Conner
    http://www.joconner.com/javai18n/articles/TextDisplay.htm.
    Thanks for providing those valuable information. it does help to understand some international issue.
    however, I am not sure if it apply to Symbol font such as Wingdings, webdings.
        Font fontPalatino = new Font( "Palatino LinoType", Font.PLAIN, 25); //unicode font
        Font fontMapInfo = new Font( "MapInfo Transportation", Font.PLAIN, 25); // non-unicode font
        Font fontWingdings  = new Font( "Wingdings", Font.PLAIN, 25);
              // use integer number and convert into equivalent character
              // e.g. if i is 65 then c is A.
              // notes: 65 is a decimal value converted from hex 0041 value
              int i = 65;
              char c = (char)i;
              System.out.println( new Character(c).toString() );
              JLabel jlbl = new JLabel();
              jlbl.setFont(fontSymbol);
              jlbl.setText( new Character(c).toString() );1) I can't display any Wingdings font , any expert can help on this?
    2) what is the difference between 0021(character code for Arial font) and 0x21(character code for Wingdings font) shown in character map?

    When I try to use Symbol font and display it in
    JLabel, it show a square.
    i have read the article written by John O'Conner
    http://www.joconner.com/javai18n/articles/TextDisplay.htm.
    Much of that article is now incorrect or unnecessary for JDK 1.5. Because 1.5 knows how to find a font for the character you're trying to display, you should be able to set your label font to any logical font, and the JRE should find a substitute font if necessary that can display the character.
    I'll give your code a try and will post results...is the code you've posted the code I should actually experiment with? It seems like you should want to display something different than 0x0065.
    Your other questions:
    0x0021 is the exclamation mark regardless of font. I see what you mean, however, since the wingdings font in charmap also says 0x0021. However, that mapping is obviously not a Unicode code point mapping.
    I looked in the Misc. Symbols and Dingbats section of Uncode. A few characters might be a reasonable substitution for the pencil character you want:
    0x270E (LOWER RIGHT PENCIL)
    0x270F (PENCIL)
    0x2710 (UPPER RIGHT PENCIL)
    I didn't see any mirror images of these, ie LOWER LEFT PENCIL and UPPER LEFT PENCIL, although I admit that I didn't look closely.
    Maybe one of these will work for you instead of the Wingdings 0x21 character you mentioned.
    Regards,
    John O'Conner

Maybe you are looking for

  • ITunes won't detect iPhone after iOS 7 Update

    Since I've updated to iOS 7, iTunes (11.1) won't detect my iPhone 5. Any advice..

  • Ready to play in 14 minutes. Is this normal?

    Im concerned about my dcownload speed.  For example, to download a 45 minute hd show, my Atv says ready to play in 14 minutes. Than the estimated time drops throughout the download and ends up taking 4 minutes and 30 seconds. Is this normal?  My down

  • 10.2.0.5 Patch for Win64

    How can I get the patch for Windows 2008 R2 if I don't have an Oracle Support Identifier - it seems odd to me that I can download the software via OTN, but I can't get the patches?

  • Download Formatting Mask for BLOB column

    Hi All, IR Query : select "ROWID","FILE_NAME",dbms_lob.getlength("DATA_FILE") "DATA_FILE", "DOC_SIZE",PROPOSAL_OWNER from "#OWNER#"."APXTER_IMP_HDR" I am using BLOB Download Format Mask on FILE_NAME column using the following FORMATTING DOWNLOAD:APXT

  • Rebuild Standby  in  9i

    Oracle 9i Sun Solaris Hi I need to rebuild one physical standby database from primary. Actually the primary itself was rebuilt using standby database. But instead of opening in NORESETLOGS it was opened in RESETLOGS. So primary and standby were again