Typing chinese characters on 9iJeveloper JSP

Hi,
I have a jsp with UTF-8 encoding, and my 9iJdeveloper project complier setting
is marked as UTF-8 as well. But i need to display chinese characters on the jsp.
I can type in the characters but when building project, 9iJdeveloper display java
malformed error. Does Anyone meet this problem before?
rgds,
joe

I'm referring the Keyboard dock, not the built-in keyboard on iPad.
You still need to use the Settings to select the Chinese keyboard layout. There is a separate section for hardware keyboards, where you can further choose us, french, german (depending on whether your physical keyboard is qwerty, azerty, or qwertz).
Are you having some problem after doing that? Are you familiar with how normal pinyin input works?

Similar Messages

  • Why the user experience on Bluetooth keyboard of iPad is different on keyboard of MacBook, especially when typing Chinese characters?

    I am a Chinese in Taiwan, and I use a input method call "Changjei" (倉頡) to input chinese character. And thank for  "Yahoo Kimo Input Method" found in Macbook Pro, so that I can use this method  as same as typing in Windows PC. When I use bluetooth keyboard connect to iPad mini, it has "Changjei" input method also, but the user experience is different than typing in MacBook Pro! I often type the wrong word when typing in iPad, because some words need additional space key to avoid selection ( when selection appear usually need additional number key for selection ). Usually every chinese character only need one space key for confirm, and in iPad, some Chinese characters need two space key(this will cause problem), and others need one as usual. It slow me down greatly, and is not a smoothly and freely experience when expressing my idea by typing in iPad, and I often distract by these misleading situation when typing.

    FFor Apple to see your comments, you need to repost  it at
    http://www.apple.com/feedback

  • Typing Chinese characters on iPad keyboard

    How can I type Chinese using the iPad keyboard and how to switch between English and Chinese?

    I'm referring the Keyboard dock, not the built-in keyboard on iPad.
    You still need to use the Settings to select the Chinese keyboard layout. There is a separate section for hardware keyboards, where you can further choose us, french, german (depending on whether your physical keyboard is qwerty, azerty, or qwertz).
    Are you having some problem after doing that? Are you familiar with how normal pinyin input works?

  • Pls help.JSP: I could not store Chinese characters into files.

    Hi experts,
    I have this problem of cant store chinese characters into files(eg. .txt and .properties). I am adding
    these chinese text through a JSP website form....After i key in chinese characters in the textboxes
    in the website and sumbit the results, my chinese characters turned into ASCII or rather garbage in
    the files.
    Is there any way i can get the exact chinese characters i entered in the webite into the files?
    Need urgent assistance here.
    Thanks
    <%@ page contentType="text/html; charset=big5" %>
    <html>
    <head>
    <title>Confirmation</title>
    <meta http-equiv="Content-Type" content="text/html; charset=big5">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </head>
    <%@ page language="java"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.lang.Integer.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="java.sql.ResultSet.*"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%@ page import="java.text.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.net.URL"%>
    <%
    //getting attributes from previous page form
    //At this point, chinese characters r retrieved
    //Ascii/garbage displayed for text when retrieved from previous page.
    String gameName=request.getParameter("name");
    String encode=request.getParameter("encode");
    String gameType=request.getParameter("type");
    String info=request.getParameter("description");
    int check=0;
    int nextGameID;
    String temp="";
    String langCode="";
    //establish connection
    Connection con = null;
    try {
    Class.forName("org.postgresql.Driver");
    con = DriverManager.getConnection("jdbc:postgresql://172.20.134.110:5432/smsINTFET" , "postgres",
    "postgres");
    catch(ClassNotFoundException e) {
    out.println("Could not load the driver: "+e.getMessage());
    catch(SQLException e) {
    out.println("SQLException caught in relax db: "+ e.getMessage());
    Statement stmt = null;
    ResultSet rs = null;
    ResultSet ps = null;
    String strSQL = "";
    String strSQL2 = "";
    String tempCat = "";
    strSQL="SELECT gamename FROM cp_games order by gameid;";
    try {
    stmt = con.createStatement();
    rs = stmt.executeQuery(strSQL);
    stmt.close();
    catch(SQLException e) {
    out.println("SQLException caught: "+ e.getMessage());
    while(rs.next())
    check=0;
    temp=rs.getString("gamename");
    if(temp.equalsIgnoreCase(gameName))
    // there is similar record in database
    check=1;
    break;
    else
    check=0;
    if(check==0)
    %>
    <body background="button/bkgd.jpg" bgproperties="fixed">
    <p><b><font size="30pts" face="Monotype Corsiva">Confirmation</font></b></p>
    <HR style="WIDTH: 500px; COLOR: blue; HEIGHT: 3px">
    The following information has been added.
    <table width="75%" border="0" cellspacing="0" cellpadding="2">
    <%
    String strCat="";
    strCat="INSERT INTO cp_games(gamename,description,encode) values('"+gameName+"','"+info+"','"+encode+"');";
    stmt = con.createStatement();
    stmt.executeUpdate(strCat);
    System.out.println("Successful inserted category");
    stmt.close();
    //setting language
    if(encode.equals("ascii"))
    langCode = "US";
    if(encode.equals("ms950"))
    langCode = "TW";
    if(encode.equals("ms936"))
    langCode = "CN";
    strSQL2="SELECT gameid FROM cp_games where gamename = '"+gameName+"';";
    try {
    stmt = con.createStatement();
    ps = stmt.executeQuery(strSQL2);
    stmt.close();
    catch(SQLException e) {
    out.println("SQLException caught: "+ e.getMessage());
    ps.next();
    nextGameID=ps.getInt("gameid");
    out.println("<B>The game number : </B>" + nextGameID);
    %>
    <tr>
    <td><B>Game added: </B><%=gameName%>
    </td>
    </tr>
    </table>
    <%
    String newFile="G:\\home\\smsGamesINTV2\\colorGame\\propertiesFiles\\FET\\CP_Game"+nextGameID+"_"+encode+"_"+langCode+".properties";
    try
    {               //begin file
    PrintWriter outFile=null;
    //create a new file and write the initial settings to file
    outFile=new PrintWriter(new FileOutputStream(newFile,true));
    outFile.println("game_intro="+nextGameID+")"+gameName+" - "+info);
    outFile.println("");
    outFile.println("game_title="+gameName);
    outFile.println("");
    outFile.println("game_type="+gameType);
    outFile.println("");
    outFile.println("qns_no=0");
    outFile.println("");
    outFile.println("ana_no=0");
    outFile.close();
    }//end file
    catch(IOException e)
    out.println("File Create Error");
    else // no match found
    out.println("Game,"+temp+ " already added");
    %>
    </body>
    </html>

    try to add this code under this line:
    <%@ page contentType="text/html; charset=big5" %>
    <% response.setContentType("text/html; charset=big5"); %>
    I have faced the problem like yours and it works fine for me. Try and see.

  • 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.

  • Is there a way to use proper mainland chinese characters on an ipad instead of the apple variants?

    I have been learning Chinese at University, and I bought an iPad to help my studies and I have found that Apple for the international keyboard has variants for many different chinese characters. Why is this and is there a way to use the chinese characters that 1.6 billn people use rather than the Apple variants? Will Apple be addressing this at all?

    No, The simple and traditional are fine, but when typing in simplified there choices for say, 将 or 骨 are different from both Simplified and Traditional entirely. If I had copied Apple's characters in tests I would have lost grades. I've never seen it happen on another operating system and unfortunatley Microsoft beats Apple in this field; hence why I call them Apple variants. I'm not the only one who has see this problem. The only way to get what I would call authentic chinese characters is with the method that is stated above. I found this solution in the thread titled "Chinese characters misrepresented". There are screen shots there too. I would love to find out how/why Apple chose this system for chinese.

  • Chinese characters in Notes app became gibberish

    I have some notes typed in Chinese while the language setting is in English. Then one day I showed my in-law how to change the language setting to Chinese. After that I changed back the setting to English, now all the chineses characters in Notes look like this
    Any suggestions how to fix the problem ? I am using Iphone 5 btw.

    thanks folks -
    no, it's not Chinese in the whole system, only keychain access
    tried the get info - English is missing - the answer would be, I imagine, in figuring out how to get English recognized by Keychain Access
    I unchecked all boxes in "international" in the sys prefs except English - but English still doesn't appear the languages section of the get info of Keychain Access
    Am considering doing a complete clean install but of course would rather not. A simpler solution would be really cool!

  • Who knows how to read the Chinese Characters from JDBC?

    I wrote two files. One is a jsp file, the other is java file. But in the jsp file it cannot print the Chinese characters, only can print the English characters. I have changed the Character Coding of the browser, but it has no effects. However, the java file works much fine. It can print the both English and Chinese characters.
    This is a part of my codes.
    String query="SELECT * FROM MyDB.dbo.BookList WHERE bookname like \'Java%\'";
    ResultSet rs=sm.executeQuery(query);
    rs.next();
    out.println(rs.getString(1));
    MyDB is a database in the SQL server.

    Hi,
    Did you try setting the contentType/charset of the JSP page? The default is latin, I think.
    <%@ page ... contentType="text/html; charset=character_set" ... %>
    Maybe this helps? At least it could give you a start of where to look...
    Best,
    Guy
    http://www.atomikos.com - JTA transactions

  • Why aren't handwritten chinese characters showing up in applications?

    I'm on a 13" MacBook Pro, running OS X 10.9.4. I have activated [Pinyin - Simplified] in my input sources, and I have activated the option for TrackPad handwriting. Typing the pinyin and choosing the right character works fine, but I haven't been able to input chinese characters into any document via the trackpad writing method. I am able to pull up the "slate" thing, write, and choose a character, but the character just doesn't show up in the application. I've tried it with TextEdit, Word, and Safari.

    You might try asking at
    https://groups.google.com/forum/#!forum/chinesemac
    or if you know chinese well, at
    https://discussionschinese.apple.com/

  • Problem in displaying chinese characters in chinese OS

    I have a application that is supposed to run on chinese OS. But i can't seem to make it display in the correct language format, whether its big5 or gb2312.
    When saving chinese characters to db, it saves weird characters to the db and retreive the weird characters to be displayed on the web.
    Do I need to do any changes to anything ??
    Thank you in advance.
    current system requirements:
    Chinese OS (NT4)
    Access DB (English version)
    Java / JSP languages
    Display big5 or GB2312

    Try using varchar

  • 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.

  • 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

  • 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

  • Traditional Chinese Characters

    My Blackberry Style will not show traditional Chinese characters.  They just appear as black squares.   Can I fix this?

    Hi and Welcome to the Community!
    It all depends on the OS that you are running on your BB...there are different versions for different languages to use. Start here:
    KB05305Localization support for BlackBerry smartphones
    You will need to obtain and install the proper OS, one that contains the language(s) you desire. 
    To install, the simplest way is to, on a PC (you cannot do this on MAC):
    1) Uninstall, from your PC, any BB OS packages
    2) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/apps-software/desktop/?lid=us:bboftwareesktopSoftware&lpos=us:bboftware
    3) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    4) If that OS package is from a carrier other than the carrier for which your BB was originally manufactured, then delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    5) Launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC. If, during the process, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    Don't forget to backup.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Showing Chinese characters being fetched from database.

    Hi,
    I have an application (using JSP and Servlets) that needs to show the data fetched from an nVarchar field from an Oracle database. When the data being read includes chinese characters, they are shown as "?". The encoding shown on the client browser is "ISO-8859-1", which clearly needs to be UTF-8.
    Can anybody guide me as to the settings required on the server to change the encoding and ensure that the pages are sent out properly.
    Regards,
    Manish.

    First, check to make sure that the strings sent to the browser are correctly encoded. Do so by manually switching the browser's encoding to the correct value. If you see the correct string, then set the charset to UTF-8. Some thing like this:
    Content-Type: text/html; charset=utf-8

Maybe you are looking for

  • How do I create a list which compiles data from all lists on the sharepoint?

    I have many pages to my sharepoint which all have separate task lists. On my overview page I want to create a list so that all the tasks and data inputted into the other task lists on the site are compiled together in one list. This way I have a long

  • DB Lookup

    Hi all, Can I connect to the external database "MS Access" using the DB Lookup concept. If so, please provide me the JDBC driver and connection string parameters. Thank you. Regards Krishna.

  • How to fetch records with two recordset

    i want fetch records from the table using two recordset like ResultSet r1=stmt.executeQuery("select * from pf_data"); i want to take another recodeset ResultSet r2=stmt.executeQuery("select * from finyr"); I am using Microsoft SQL server as my databa

  • How to validate item

    Hi, I have two items in creation form--Finish Date and Status. If Finish Date is not null, Status should be 'Closed' but if Finish Date is null, Status should not be 'Closed'. Case 1 Finish Date: 01-Mar-09 Status: Closed Case 2 Finish Date: Status: O

  • Buying A New Controller

    Hello Not sure if I have put this in right place so if I havent please let me know. At launch I bought 2 controllers for my PS4. This is so that I have a backup if one broke. However now I am now having the same issue with the left analogue stick. Wh