Cannot read chinese characters

I have a file which has chinese characters. Reading it via READ DATASET is giving some junk characters. I tried Legacy mode. But to no avail.
Any clues?

HI Aishi,
Please could you explain me how did you solve this issue...as I am also facing similar issue !!
I am using 4.7 version ........ and Using BDC I need to upload some data in Chinese language , I have the exact
Chinese language in notepad / Excel but when I upload it ..... its getting changed to some other unreadable script.
Please advice
Karthik.R

Similar Messages

  • How can Mail of OS X Mountain Lion read Chinese Characters?

    Mail cannot read Chinese characters. Message looks like a series of "??????". However, Safari can read Chinese characters. What setting can make Mail read Chinese Characters?

    Pippi10 wrote:
    Mail cannot read Chinese characters. Message looks like a series of "??????".
    Normally that indicates an encoding glitch, where the email headers are not telling Mail the right encoding to use.  The first thing to try is Message > Text Encoding and see if UTF-8 or one of the various Chinese encodings give the right display.
    Also go to View > Message > Raw Source and tell us what you see in the headers that say "charset=  ".

  • Why My Zen Mirco Cannot Read Chinese

    Hi to all,
    do u guys know how come my micro cannot read chinese?
    I have all the chinese songs on my pc.
    but when i transfer to the creative player, it simply dun recongised it
    ADMIN pls do something abot this...
    Even the ipod player like the itune is better.

    u have xp? just set the default language for programs to simplified chinese, thats how i got it working on touch. but i dont think it supports the chinese characters in the mp3 file, i was talking about the id3 tags

  • How to read Chinese Characters in iTunes?

    Hi all,
    Is there anyone who can enlighten me on how I can read chinese characters in iTunes? I have quite a number of Chinese songs that I wish to be played in iTunes, but I noticed that it does not read the chinese song titles and had small rectangles in place of the chinese characters.
    I tried using a third-party software lke NJStar, but the chinese characters resulted were crammed together and were not legible.
    Please help. Thanks.

    now instead of small
    little squares, there are funny symbols and letters
    that don't make any sense whenever there are
    supposedly chinese characters.
    That probably means that the id3 tags on your songs are not encoded correctly. I understand that the program ConvertZ can help fix this.

  • VoiceOver cannot read Chinese

    My iMac's VoiceOver cannot read Chinese although my Macbook Air can.
    Can someone teach me how to set the system so that it can read Chinese.
    Thank you!

    Have you set the System Voice to a Chinese one in system preferences/speech?

  • Cannot read foreign characters!!!

    Requirement: Read a text file containing foreign characters and print it/ store it in string buffer
    Problems: Doesnt work, and throws exception whenever Reader.read() or BufferedReader.readline()
    method is envoked...
    How do i get arround this?
    Here is a sample text from the file...
    Ang�ende utleggelse av kopierte lydfiler i CVS8 format via internett � f� fjernet p� denne e-mail n�dt til � bemerke
    here is the sample program:
    import java.io.*;
    public class LoadUTF8 {
         private static String _FILE = null;
         public static void main(String args[]) {
              _FILE = args[0];
              try {
                   System.out.println(getUTF8());
              catch(Exception e) {e.printStackTrace();}
              try {
                   loadUTF8Data();
              catch(Exception e) {e.printStackTrace();}
         public static String getUTF8() {
              StringBuffer buffer = new StringBuffer();
              try {
                   FileInputStream fis = new FileInputStream(_FILE);
                   InputStreamReader isr = new InputStreamReader(fis, "UTF8");
                   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;
         public static void loadUTF8Data() {
    try
                   InputStream in = new FileInputStream(_FILE);
                   BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF8"));
                   String line = null;
                   StringBuffer buffer = new StringBuffer();
    while ( ( line = reader.readLine() ) != null ) // Read line until EOF
    buffer.append( line + "\n" );
    System.out.println("" + buffer.toString() + "");
              catch(Exception e) {
                   e.printStackTrace();
    Error Message:
    sun.io.MalformedInputException
    at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:110)
    at java.io.InputStreamReader.convertInto(InputStreamReader.java:137)
    at java.io.InputStreamReader.fill(InputStreamReader.java:186)
    at java.io.InputStreamReader.read(InputStreamReader.java:249)
    at java.io.BufferedReader.fill(BufferedReader.java:139)
    at java.io.BufferedReader.read(BufferedReader.java:157)
    at mtrack.cda.utils.LoadUTF8.getUTF8(LoadUTF8.java:25)
    at mtrack.cda.utils.LoadUTF8.main(LoadUTF8.java:15)
    NB:- It works fine with normal text files that doesn't have any foreign character!
    If either of getUTF8() or loadUTF8Data() functions work, i will be very happy!!! :-)

    Hi Pratim,
    Your code is absolutely correct and can be adapted to read in any foreign characters as long as you create your InputStreamReader with the same encoding that was used to write the file you are trying to read. By default, java encodes files in a format called Cp1252. Cp1252 can be used to encode ASCII characters (\u0000->\u007f) + an extended region (\u0080->\u00ff). This extended region contains, among other characters, the extra characters used by languages like Spanish, German etc. To read such a file, change your code to:
    InputStreamReader isr = new InputStreamReader(fis, "Cp1252"); However, if one wants to encode characters beyond \u007f (for example, Chinese, Hindu, Russian etc.) then one cannot use Cp1252 encoding. Frequently, such characters are encoded using UTF8 (Unicode Transformation Format 8). UTF8 is capable of encoding the entire unicode character set. There are many many different encodings supported by java. The point is that you must to use the same encoding to read back the characters as was used to store them.
    I suggest that you experiment with writing characters to files and reading them back into java using different encodings. You already have the code to read the characters. To write the files, you can either use Microsoft Word or you can write code analogous to your code above except using the OutputStreamWriter. It will also be helpful to you if you have some way of examining the bytes in your output files.
    Regards,
    Joe

  • Cannot read Chinese

    Hi,
    I'm using Dreamweaver 8.02 on a Coldfusion server. Recently,
    I just translated a website into Chinese, but it cannot show the
    Chinese characters on the web, WHY? Does anyone know how to solve
    this problem?
    Thanks in advance!

    takcw wrote:
    > I'm using Dreamweaver 8.02 on a Coldfusion server.
    Recently, I just translated
    > a website into Chinese, but it cannot show the Chinese
    characters on the web,
    > WHY?
    It depends what character encoding you used for the Chinese.
    I don't use
    ColdFusion, but I understand that it outputs everything in
    UTF-8
    encoding. To override this, you need to use a
    <cfcontent> tag:
    http://livedocs.adobe.com/coldfusion/7/htmldocs/00001205.htm
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Cannot Store Chinese Characters In Oracle 9.2.0.7 Database

    Hi,
    I'm having trouble localizing my Oracle 9.2.0.7 / ASP web application for our Chinese-speaking users.
    My Oracle 9.2.0.7 Database has NLS_NCHAR_CHARACTERSET set to AL16UTF16.
    I've set up a test table thus:
    CREATE TABLE "TBL_TEST_CH"
    field1                          NVARCHAR2(40),
    field2                          NVARCHAR2(40)
    I have the Chinese character set installed on my database / web server (same box), as well as a test client machine. I can see Chinese characters in my web browser, and can enter them in a test ASP page I've set up. When I execute an insert statement via ADO, the insert statement seems to work, but the result is that the data seems to be stored as upside-down question marks.
    I thought perhaps the data was being somehow scrambled between the web app and the database, so I set up an external table import the Chinese data from a Unicode text file:
    CREATE TABLE kenny.ch_import
         FIELD1          NVARCHAR2(255),
         FIELD2          NVARCHAR2(255)
         ORGANIZATION EXTERNAL (TYPE oracle_loader
         DEFAULT DIRECTORY ext_dat_dir
         ACCESS PARAMETERS
         (RECORDS DELIMITED BY ":"
         FIELDS TERMINATED BY "~"
         missing field values are null)
         LOCATION (ext_dat_dir:'test_ch.txt'))
         reject limit unlimited
    However, when I query the data in the external table using my web application, it comes back with garbage like "ÿþ1" and the like.
    To attempt to determine if the database is capable of storing the Chinese characters, I've performed the following test:
    1) I insert a Chinese character in an NVARCHAR2 field in my table by using the UNISTR function thus:
    insert into tbl_test_ch (field1) values (unistr('\3E00'))
    2) I interrogated the value using the dump function thus:
    select dump(field1, 1016) FROM tbl_test_ch
    I'm struggling to understand the output. Obviously the character set being used is "AL16UTF16" (which I would expect to be able to store Chinese characters), but the return_format argument I've provided to the function (1016) should return the hexadecimal code point of the character that's being stored. I would expect this to be the same as I inserted ("3E00"), but I'm getting the following output:
    DUMP(FIELD1,1016)
    Typ=1 Len=2 CharacterSet=AL16UTF16: 3e,0
    I'd really appreciate any suggestions on what I could do next to determine exactly where the problem lies. I've not been able to convince myself that the database is correctly storing the Chinese character data, but I appreciate equally that the problem could lie elsewhere.
    Thanks in advance,
    Kenny McEwan.

    Thanks, Serguisz.
    My technology stack is as follows:
    ASP 3.0 web application, running on IIS6.
    On the web servier, I have MDAC 2.8 SP2 on Windows Server 2003 SP1.
    On the Oracle database server, I have Windows Server 2003 SP1.
    My Oracle database version is 9.2.0.7.
    The client I've been using in this investigation is Internet Explorer 6.0.2900.
    It does look like you're right about characters coming from the application are being corrupted. To support this, I tried to insert the chinese character 博 as well as the Unihan character 中 from a web page in my application. I then used the dump function to interrogate the contents of the field I input to thus:
    select dump(field1, 1016) FROM tbl_test_ch
    DUMP(FIELD1,1016)
    Typ=1 Len=2 CharacterSet=AL16UTF16: 0,bf
    Typ=1 Len=2 CharacterSet=AL16UTF16: 0,bf
    Both characters seem to have suffered the same corruption.
    The problem seems to happen in the other direction as well - even after verifying that the character detailed in the previous post was stored correctly, it is still displayed by my web app as an upside down question mark.
    Do you have any suggestions on how to proceed?
    Best regards,
    Kenny.

  • Unable to read chinese characters in a flat file to external table

    Hi All,
    We have a flat file containing data in chinese. We are using external table to read data in files. When i do select <coulmn-name> from <table> it displays box for the chinese characters. The column is of type varchar2.
    The NLS_LANGUAGE is AMERICAN and NLS_CHARACTERSET is AL32UTF8.
    The character set is mentioed as UTF8 in external table defnition.
    Is the external table not reading these charcters properly? Should any patch be installed or some settings should be changed for sql developer to to display chinese character?

    The NLS_LANG environment variable/registry string variable (You are just one of the 1000s of 'anonymous' users refusing to post platform and version), so NOT NLS_LANGUAGE, on the server hosting the file, should be set to anything ending in .AL32UTF8
    Sybrand Bakker
    Senior Oracle DBA

  • Can't get Acrobat 9.3.2 to read Chinese characters or install Chinese fonts

    (Please read what I've done already before suggesting solutions.)
    I'm using Adobe Acrobat 9.3.2 on Windows XP Professional with administrator privileges, and I just cannot get it to read PDFs in simplified Chinese. (Apparently the Asian fonts weren't installed when my IT people installed Acrobat.) I've downloaded and installed FontPack90_zh_CN.msi. No use. I have gone into Add/Remove Programs, gone to "modify" in the Adobe Acrobat item, and ensured that the Asian fonts are installed through that. Everything seems to go OK, but I still can’t read Chinese PDFs.
    When I try to open a Chinese PDF, I get a message saying, "The Simplified Chinese Language Support Package is required to display this page properly." It then offers to install it, and I click "OK". Then it goes through the installation process. But at the end, I get another message saying, "The missing CMap or font was not successfully installed. This could be due to insufficient privileges. Please check with your system administrator to ensure that you have sufficient privileges." Recall that I already have administrator privileges.
    Suggestions?

    "When I try to open a Chinese PDF, I get a message saying, "The Simplified Chinese Language Support Package is required to display this page properly." It then offers to install it, and I click "OK". Then it goes through the installation process."
    I have the same problem, but I am running Windows Vista Ultimate 64-bit.  I have Adobe Acrobat Standard 9.3.2 installed.  After installation, it reboots my computer, but the same error comes up.  After doing this twice, I tried using Control Panel/Programs and Features to Modify the installation and add Simplified Chinese Language Support.  That process also completed succssfully (i.e. no error messages) but even after rebooting again, and re-entering control panel, it showed that the support had not been installed.  When opening the same document the same message was displayed.
    It is clear that Acrobat 9.3.2 has an issue across a number of Windows platforms.  Will soneone (anyone?) from Adobe acknowledge this issue?

  • Store&read chinese characters in MS SQL server 2000 using Java

    Hi,
    I have a problem to store Chinese characters in MS SQL Server 2000, storing question marks(??????) instead of Chinese characters
    I am using JSF framework, SUN APPLICATION Server 9.1 , MS SQL Server 2000 server and Microsoft data source driver class (com.microsoft.sqlserver.jdbc.SQLServerDataSource) to connect db.
    I have one solution:
    IN JSP:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    and
    In database column type should “nvarchar” in place of varchar
    while inserting or updating the same need to add ‘N’ prefix with the value like insert into client(Name, Id ….) values (N+)
    the above is working fine but the problem is here i have already defined database with 100s of tables I cant change database tables as well as queries
    Thanks,
    Sathi

    I don't know any betterer option, than to copy the database tabels redefining the Chinese data fields as nvarchar.
    To be frank I had also problems writing to a html file Chinese text stored in MS SQLServer 2000 nvarchar fields.
    The following worked:'
         public String getEncodedData(ResultSet resultSet, int columnIndex, String charset)
         throws SQLException
              //final String methodName = "getEncodedData";
              InputStream binaryStream =resultSet.getBinaryStream(columnIndex);
              String readStringFromStream=readStringFromStream(binaryStream, charset);//UTF_16LE);
              return readStringFromStream;
         public String readStringFromStream(InputStream inputStream, String charset) {
              final String methodName = "readStringFromStream";
              StringBuffer buffer = new StringBuffer();
              try {
                   int ch;
                   InputStreamReader isr = new InputStreamReader(inputStream, charset);
                   Reader in = new BufferedReader(isr);
                   while ((ch = in.read()) > -1) {
                        buffer.append((char)ch);
                   in.close();
                   return buffer.toString();
              } catch (IOException exception) {
                   Log.printError(this,methodName, exception);
                   return null;
         }And writing it to file:
         public void writeEncodedStringToFile(String text, String filePath, String charset, boolean append){
              final String methodName = "writeEncodedStringToFile";
              OutputStreamWriter writer= null;
              try {
                   FileOutputStream fileOutputStream = new FileOutputStream(filePath, append);
                   writer = new OutputStreamWriter(fileOutputStream, charset);
                   writer.write(text);
              } catch (IOException exception) {
                   Log.printError(this,methodName, exception);
              }finally{
                   try {
                        writer.close();
                   } catch (IOException exception) {
                        Log.printError(this,methodName, exception);
         }Edited by: astlanda on Feb 10, 2009 11:13 PM
    Edited by: astlanda on Feb 10, 2009 11:21 PM

  • How to read chinese characters with Nano

    I transfered some chinese songs to my Nano using iTunes.
    But now i can't read the characters...

    Please always tell people what OS you are using.
    Most likely the ID3 tags for the songs are not encoded correctly for the iPod. See this note for some info:
    http://discussions.apple.com/thread.jspa?threadID=121866&tstart=15
    If you are running Windows, there is a program called ConvertZ that may help.

  • Cannot see Chinese characters

    sometimes I cannot view the Chinese characters in emails I received from China partners. Please advise how I can solve this problem?

    simon@thinking wrote:
    I am using the Office for Mac 2011.
    The best place to get help with the Office email app is often
    http://answers.microsoft.com/en-us/mac/forum/macoutlook

  • Cannot read chinese in gmail

    I have setup a gmail mailbox in my iPhone 3GS, however, Chinese characters inside the mail become symbol....
    Please advise how I can fix it. Thanks.

    Most likely it is an encoding problem, and there is no way to select Mail encodings on an iPhone. You could try switching your OS to Chinese, if it is not already that way.
    Does it work if you use webmail instead of Mail?

  • My macbook pro cannot read chinese character.

    I downloaded some files and the title of the file appear to be like this ‰–›œ¢. What can i do?

    It looks the file names are in the wrong encoding.  Where did you get them?  I'm sure your computer can read Chinese, for example this web page:
    http://www.people.com.cn/
    There is an old app to help fix such problems, but I don't know if it still works
    http://support.apple.com/downloads/File_Name_Encoding_Repair_Utility

Maybe you are looking for

  • Use the table in ALV (top-of-page)

    hi all I have to display table in the TOP-OF-PAGE OF ALV. but I don't know how to use. FORM START_LIST_VIEWER.   DATA: PGM LIKE SY-REPID.   PGM = SY-REPID. *STRUCTURE_NAME = 'ZSFAAC'.   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'       EXPORTING          

  • Fetching a URL  from a socket output or input stream in a proxy server

    We have written a proxy server in java . It connects with a client on some local port and forwards the request of the client to main server through socket connections. The code is as follows... * BasicProxyServer.java * A simple multithreaded proxy s

  • Po amendment report

    hi, is there a standard report which will give me no. of POs amended and the reason for it , e,g qty , rate etc. rgds

  • Transfer file clean up: What is best practice when creating files with timestamps?

    Created an SSIS package to create files that will be sent which are created with a time stamp. What is the best procedure of clean up for the files? I'd like to keep at least a day of files for verification purposes.

  • How to run MIDlet in background in J2ME?

    Hi Friends, I am new guy to J2ME and MotoRazr. I just want to run application in background while other application as normal. I am targeting MotoRazr v3xx, MIDP-2.0 & CLDC-1.0. In some post I found that we can use "Backgrounf: True" in JAD file, I t