Displaying chinese character through Forms

Database 10.2.0.2.0
10g Application sever Jinitiator 1.3.1.22
Server is UNIX AIX version 5.3
Client is XP
I've got a requirement to enable Chinese characters to be displayed through an Oracle form and most likely entered.
The Characterset sets for the database:
NLS_CHARACTERSET WE8ISO8859P1
NLS_NCHAR_CHARACTERSET AL16UTF16
As we only have to store a small amount of Chinese data, possible just 2 text fields I've chosen to use 1 NVARCHAR and 1 NCLOB rather than changing the base characterset.
I've managed to enter data into a NVARCHAR column using SQLDEVELOPER so I know I can physically store the characters but at the moment when I try and display the characters in the screen I get upside down question marks.
After reading a couple of white papers I thought I had made the required changes to the app server for it to work. I've updated the following files to include a step to set the NLS_LANG variable to ENGLISH_UNITED KINGDOM.UTF8.
./forms/server/default.env
./opmn/conf/opmn.xml
I've included a GET_APPLICATION_PROPERTY call in a test form to return the current NLS_LANG setting at runtime, it is ENGLISH_UNITED KINGDOM.UTF8;
So am I missing something is it a font thing?
Is it a font thing, although I thought I would get boxes displayed if it was down to a missing font?
If anyone could point me in the right direction I would be very grateful.
Please let me know if more info is needed.
Many Thanks
Q

If I remember correctly, Oracle Forms do not support NCHAR text items. All text is treated as VARCHAR2 until it reaches the database. But this means that Chinese characters are converted to the database character set when traveling over network. Only after being converted to WE8ISO8859P1 (yielding reverted question marks), they are finally converted to AL16UTF16 in the database.
I do not remember if client-side PL/SQL supports NVARCHAR2 in variables and parameters. If it does (Forms 9.0 and higher), you may try to pass the values from text items to a Forms procedure through NVARCHAR2 parameters, then to a database stored procedure, again through NVARCHAR2 parameters, and the stored procedure can insert the values into the database. (Similarly for a query.)
-- Sergiusz

Similar Messages

  • Display Chinese character in iText

    hi all I need to display Chinese character in my pdf file
    I have iTextAsian.jar on my libraries , but the Chinese character did not show up
    nested1.addCell(new Phrase(chinessname));

    I download freetype-2.1.10,
    and I get ./configure --enable-static
    ./configure: make: not found
    how to continue ... inorder to create your owner font
    by the way I download the new extrajars-2.1.zip, this new jar supporting Chinese characters . but my first font is not working second font is work fine I don't know why?
    first one
    BaseFont bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); not working
    //second one
    BaseFont bfChinese= BaseFont.createFont("MSungStd-Light", "UniCNS-UCS2-H", BaseFont.NOT_EMBEDDED);
    Thank you!

  • Display chinese character HTML in iPS3sp3

    Hi there,
    I am using iPS3sp3 and I modified it so that JSP can display chinese character correctly. But somehow I still can not display the chinese character in normal HTML.For instance, I put chinese character in Ldap.properties file but when user go to the Ldap login screen, the chinese can not be displayed correctly. The following is the modification I have done and can anybody please give me some help?
    adding zh_TW in iwtPlatform-availableLocales
    adding zh_TW in iwtPlatform-locale
    adding BIG5 in iwtPlatform-HTMLcharset
    adding ips.locale=en_US,zh_TW,zh_TW.BIG5 in platform.conf file
    Setting, User's Default Locale: zh_TW
    Setting, User's Default HTML charset: BIG5

    Finally, I made it work. The solution is pretty straight forward. All I need to do is to convert these kind of html file to utf8 encoded files and then, it works perfectly. Hope this might be useful for some people.

  • 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

  • Display chinese character

    I have a java application with read string from IE browser through JNI interface.
    The issue is the String i got, which is "\u963f\u5f1f\u4ed4" can't be display in Chinese directly.
    I do following convetion, it doesn't work.
    byte[] sb=link.getBytes();
    String Zhongwen=new String(sb, "GB2312");
    But if I define a this String in my application, it works.
    String link = "\u963f\u5f1f\u4ed4";
    I bet Java treats first case as a buch of seperate characters since if I build
    a String as "\\u" + "963f", I can't get chinese character.
    So it is looks I can only use the parseInt(..) method on the Integer class and casting the result to a char.
    try
    char p = (char)Integer.parseInt(x, 16);
    System.out.println(p);
    catch(Exception e)
    System.out.println(e);
    Does antbody have another solution?

    The most probable source of error is character encoding conversion...most likely from the IE browser to the Java environment. Do you have a way to find out what encoding is used in the browser? IE will transfer form data back to the server in either UTF-8 or the encoding of the original form.
    Transfer the data from IE correctly, and you will be able to display the characters without further problem.
    John O'Conner

  • Display Chinese Character jsp page  by using UTF-8

    hi all,
    I have one jsp page have Chinese character, need to allow user input Chinese character into db, right now my situation is if I set <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> , the Chinese character in my jsp page I can't display correcly, but the inser is okI have to set encoding to big5, then I can't insert chinese character into my db correctly.
    can I use UTF-8 to display my jsp page, which have Chinese Character in there?Thank you!

    Hi Niklas
    thank you for the suggestion. somebody told me UTF-8 suppose work, only if you typing your Chiness character in UTF-8 formate, i don't know that is true or not, but that realy a challenge for me, I using jdbc , some time ago, and then stop, and on that period,if I got free time, I did try to learn some tutorials on struct, hibernate, like http://javaboutique.internet.com/tutorials/Struts/; http://courses.coreservlets.com/Course-Materials/struts.html
    recently I need to deal with some online form , first I want to use struct, but I keep got forwad problem, I forget the detail error message, and found not place to ask questions, so , I pick jdbc again, so ,if you have some useful link in struct or a nice community for people to learn struct, I am look forward to
    know that,
    by the way I set *<meta http-equiv="Content-Type" content="text/html; charset=big5" /> in my jsp*
    String dbURL="jdbc:mysql://localhost/survey?useBig5=true&characterEncoding=Big5"; in jdbc
    keep UTF-8 setting in mysql, it looks solute the problem that I had, hope that can enhabce our knowledge in that
    thank you for the help and wish good luck for future.

  • Need help in Displaying Chinese Character in JSF

    Hi. Good Morning!
    I'm having problem with displaying Chinese Characters in JSF. I've tried placing all the chinese words in the *.properties file however it doesn't work..
    The result in the browser is something like this.
    ���� ��������� ���� ��������� ���� ���������

    Hi,
    When you say that you put Chinese characters in
    *.properties files, can you be more specific? Did
    you use native2ascii to convert the files to ASCII?
    What is the character encoding setting for the JVM?
    Have you sniffed the HTTP headers? If so, what's the
    character encoding listed for the response?
    Answers to these questions should help you nail down
    the problem.
    Regards,
    PeterHi...
    I did not use any converter like native to ascii... an example of what I placed in the properties file is:
    title : &#20197;&#19979;5&#31181;&#26631;&#31614;&#30340;&#34920;&#38754;&#35201;&#27714;&#21015;&#26679;
    Request=&#26465;&#30721;&#31163;&#36793;&#26694;
    Tablehead=&#36879;&#26126;&#26631;&#31614;
    Note1= &#36879;&#26126;&#26631;&#31614;
    Note2= &#36879;&#26126;&#26631;&#31614;
    NoteA= &#21360;&#21830;&#26631;&#22270;
    then when i build the project in linux it turns out to be like this:
    title= ???
    Request=???
    Tablehead=???
    Note1= ???
    Note2= ???
    NoteA= ???
    The character encoding for JVm.. i haven't check that yet nor know how...

  • Display Chinese Text in Form 6i

    Hi,
    I am trying to put Chinese text on forms under Form 6i and allow users to enter double-byte Chinese characters.
    But Form 6i cannot display the Chinese text that I entered. A double-byte Chinese text is always displayed as '?' in the Form.
    I have changed all NLS_LANG registry entry to be AMERICAN_AMERICA.US7ASCII in all three my Windows 98/NT/2000 English PCs. The problem still can't be solved.... 8-(
    I uses Chinese Star to allow me to enter Chinese characters.
    Can someone enlight me on this issue?
    Thanks!

    Hi :
    1) change your NLS_LANG registry entry to be SIMPLIFIED CHINESE_CHINA.ZHS16GBK
    2) open the Chinese Star
    3) run your application
    I think this will solve this problem.

  • Cannot display Chinese Character in ver 10.1.3

    Hello,
    I would like to ask one more question, when i run my program, it contain two jsp pages,
    the first one is to ask the user to input some chinese character, then the second one is to display the input data in the second page. I found out that the second one cannot display the input chinese character, but other chinese character in the second one can be display.
    Some of my code in the second one are as follow:
    String firstName = request.getParameter("firstName");
    &#20013;&#25991; <%=firstName%>
    The result are displayed are displayed as follow:
    &#20013;&#25991; ?T???\!
    It seems to me that the text can display but the variable cannot display, does any one know the reason?
    One of the replies from the JDeveloper forum are as follow:
    I seem to recall there was a bug in the 10.1.3 OC4J with passing parameters on the URL in other languages. You might want to ask on the OC4J forum:
    OC4J
    Regards,
    Alan 20/11/2005

    chulongjiang,
    i solve the problem with your advice, thanks lot!
    Regards,
    Alan 24/11/2005

  • Display Chinese Character in SQLPLUS

    Anyone have any idea how to display a chinese character from the database? Is it possible to display from sqlplus.
    null

    It is possible to display Chinese characters in SQL*Plus. The reference manual at http://www.oradoc.com/ora817/server.817/a76966/toc.htm would be a good starting place to learn more.
    - CJ

  • How can I display Chinese Character correctly in JSP

    <p>Dear Expert,</p><p>Now I develop web application which using CR report, the development tool is IBM RAD(rational) and the database is DB2 UTF-8. Because need user to input something in JSP, so the programmer use "GB2312" to convert to insert into the database. But when I create the crystal report and view in the web, the Chinese character can&#39;t disply correctly, like "???????", even I formated the font in report, doesn&#39;t work too.</p><p>And I set the report JSP charset to "GB2312" or "UTF-8", both of them failed. Following is my JSP seting:</p><p><%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%%></p><p>or <%@ page language="java" contentType="text/html;charset=GB2312" pageEncoding="GB2312"%%></p><p>And I think I must convert the data from database site firstly, then display, but I don&#39;t know where I can coding it and how to coding? Could any one tell me how to get it? </p><p>I use RAD(Rational) as development tools.</p><p>Thanks so much for your any comments. Many thanks!</p><p>Steven</p>

    <p>Hi Steven,</p><p>         It sounds like you are on the right track to get the Chinese data to appear up correctly in the report. Can you tell me if you are using the JSF viewer or the JSP viewer?</p><p>From what the developers are telling me the following should work:</p><p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">For JSP viewers to set  content type correctly you can either use</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial"><%@ page  contentType="text/html;charset=UTF-8" %></span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">Or</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">response.setContentType("text/html;charset=UTF-8âu20AC)</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">or  </span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">simply call  viewer.setOwnPage(true); if it not necessary to blend with other  pages.</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial"> </span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">For JSF viewer the  third option is not available.</span></font></p><p class="MsoNormal">What does your JSP page code look like? Also, what does the output look like?</p><p>Finally, one last thing is to ensure that the font you are using in the report is available to the engine at runtime. This will mean that it wll need to be installed on the application server where your JSP page is running. Give this a try and let me know what you find. </p><p>Regards,<br/>Sean Johnson (CR4E Product Manager) <br/><br/> Rate this plugin @ Eclipse Plugin Central          </p>

  • Mapbuilder cannot display chinese character properly

    I downloaded the latest mapviewer package.I found the mapbuilder cannot display chinese charater properly.neither the charater readed from database,nor the charater I typed. Every chinese character is substitude by a blank square.Anyone have good suggestion?

    Hi,
    this early preview has not been tested in other
    languages than English. We are aware of this problem
    with Chinese characters, and it may be related with
    font, but
    needs more investigation. Which Windows version are
    you using?
    To start the program setting the language to English
    you can try:
    java -jar -Duser.language=en -Duser.region=US ...
    Thanks.
    JoaoI tried . but no helpful. an My os is windows xp

  • Displaying Chinese Character in Oracle Form 6i using Oracle 11g Database

    Hi,
    Please, can anyone send me the solution for displaying the Chinese characters in Oracle Form 6i using Oracle 11g database and also
    the configuration that has to be implemented.Its urgent.
    Thank You,
    Sridhar.T

    displaying the Chinese characters in Oracle Form 6i using Oracle 11g database I'm afraid you might have problems... see Implementing Chinese language in Oracle 11g

  • Unable to display Chinese character in non-unicode system properly.

    Hi, all
    My system has been upgraded from 4.6C to 6.0 which is non-unicode system. Chinese characters with long length will be cut and cannot wrap automatically. But it's OK to alphabetes. How could I resolve this?
    Thanks..
    TD. Wei

    The simple and easy way to check
    non-unicode character sets are not supported on unicode system any longer. Am I right?
    Transaction code i18N
    Select
    trouble shooting --> printing  test --> smartforms --> multiple scripts, select your output device and see print preview. it will display all supported characters.
    I guess, above information will be useful for closing the thread.
    Regards,
    SaiRam

Maybe you are looking for