JSP to display Chinese From Oracle Unicode?

My Oracle 9iR2 Database use Unicode as default character set.
However, I can not see Chinese from JSP and use <%@ page contentType = "text/html;charset=UTF-8" %>.
What is the solution to i18n?

Hi,
Why can't you use a Java Bean which takes the data from the database. Then call this bean from the JSP page using <jsp:useBean> tag.
Ok,if you dont want a Java Bean and if you want to use an applet in a JSP file, you will have to use <jsp:plugin>tag. Here is an example
<html><head><title> Demo Applet</title></head>
<body bgcolor="rd">
<% if (request.getParameter("SUBMIT") != null) {%>
<jsp:plugin type="applet" code="DemoApplet.java" codebase="." name="Demo" height="400 with="300>
<jsp:fallback> Plug in not supported by your browser</jsp:fallback>
</jsp:plugin>
</body></html>
Hope this will help you.
Rgds,
Ravi Shankar

Similar Messages

  • Use an applet in a Jsp to display data from Oracle DB

    Hi everyone, I'm very new to java my question is:
    Is there a way to display an applet like a table within a Jsp to display data from a Oracle DB? The thing is that I would be able to show this applet only at the click of the submit button in my html form.
    Please help me any sample code are welcome
    Thank you in advance
    Fabry

    Hi,
    Why can't you use a Java Bean which takes the data from the database. Then call this bean from the JSP page using <jsp:useBean> tag.
    Ok,if you dont want a Java Bean and if you want to use an applet in a JSP file, you will have to use <jsp:plugin>tag. Here is an example
    <html><head><title> Demo Applet</title></head>
    <body bgcolor="rd">
    <% if (request.getParameter("SUBMIT") != null) {%>
    <jsp:plugin type="applet" code="DemoApplet.java" codebase="." name="Demo" height="400 with="300>
    <jsp:fallback> Plug in not supported by your browser</jsp:fallback>
    </jsp:plugin>
    </body></html>
    Hope this will help you.
    Rgds,
    Ravi Shankar

  • Walkthrough: Displaying Data from Oracle database in a Windows application.

    This article is intended to illustrate one of the most common business scenarios such as displaying data from Oracle database on a form in a Windows application using DataSet objects and .NET Framework Data Provider for Oracle.
    You can read more at http://www.c-sharpcorner.com/UploadFile/john_charles/WalkthroughDisplayingDataOracleWindowsapplication05242007142059PM/WalkthroughDisplayingDataOracleWindowsapplication.aspx
    Enjoy my article.

    hi,
    this is the code :
    public class TableBean {
    Connection con ;
    Statement ps;
    ResultSet rs;
    private List perInfoAll = new ArrayList();
    public List getperInfoAll() {
    int i = 0;
    try
    con = DriverManager.getConnection("url","root","root");
    ps = con.createStatement();
    rs = ps.executeQuery("select * from user");
    while(rs.next()){
    System.out.println(rs.getString(1));
    perInfoAll.add(i,new perInfo(rs.getString(1),rs.getString(2),rs.getString(3)));
    i++;
    catch (Exception e)
    System.out.println("Error Data : " + e.getMessage());
    return perInfoAll;
    public class perInfo {
    String uname;
    String firstName;
    String lastName;
    public perInfo(String firstName,String lastName,String uname) {
    this.uname = uname;
    this.firstName = firstName;
    this.lastName = lastName;
    public String getUname() {
    return uname;
    public String getFirstName() {
    return firstName;
    public String getLastName() {
    return lastName;
    ADF table code:
    <af:table value="#{tableBean.perInfoAll}" var="row"
    binding="#{backing_Display.table1}" id="table1">
    <af:column sortable="false" headerText=""
    align="start">
    <af:outputText value="#{row.firstName"/>//---> Jdeveloper 11g doesn't allow me to use this.. it says firstName is an unknown property..
    </af:column>
    </af:table>
    Please tell me is this the way to do it.. or is it a must to use the DataCollection from the data controls panel...
    Thanks...

  • How to store data in chinese from oracle and show it to jsp?

    hi, please help.
    i have design a jsp page for registeration of a website in chinese,
    but after the user have enter the chinses data throught the jsp~
    the jsp have shown some monster code~
    it can't show the valid date in chinese!!! how can i fix it????
    when i select data from SQL PLUS, monster code is showed. how to show the chinese data in the oracle.
    i am using tomcat 5.0 ~servlet 2.2 and oracle 9i for database~~
    thx thx thx~~~~~pls help me!!

    The how to at following url shows how to store, retrieve and display characters of different languages from Oracle database onto a JSP page.
    http://otn.oracle.com/sample_code/tech/java/codesnippet/jdbc/nls/Globalization.html
    HTH
    Chandar

  • Problem Displaying data from oracle in JTable

    Please can any one help me? I have a problem displaying the data fetched from oracle database(ResultSet) in JTables. Can any one provide me with any possible way out(and any alternative).

    User,
    As suggested in the other post - Google/Books/find a mentor is the best option.

  • How to Display Data from Oracle E Business Suite tables in ADF

    Hi,
    I am new to ADF.
    I have a requirement to Create an ADF page for Search Results Screen.
    However the result data is from one of the Oracle E Business Suite Tables.
    ie I need to create a Screen where user will enter a Purchase Order Number and Click on Button.
    The Screen should show details from PO_HEADERS_ALL (from Oracle ERP Database Table) based on the entered PO Number.
    Is it possible to implement the same? Can some one guide me how to do it?
    Thanks,
    Kamath

    Hi,
    Is there a way where I can create a VO in ADF to which I can insert records dynamically from a source and the Source connects to E Business Suite tables and returns results ie BPEL etc.
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#sm0341
    Just replace the PLSQL example with your data source
    Can ADF invoke SOA which inturn connects to Oracle E Business Suite and fetches the data from Oracle tables and pass it back to ADF? Is it possible
    Yes. Just use a WS proxy client to access the SOA entry point (WSDL) and follow the link above
    Frank

  • Urgent ! Code for Displaying Image from Oracle BLOB image on VB Form

    Hi Plz any one have any work to showing a Picuture on Visual Basic Form, i Save the Picure in table and its column type is BLOB where i save picture, now i want to show it on VB form. if anybody knows plz tell me. and if image not found then how can i handle in nvl(field,' ') function.

    Refer VB sample on Passing LOB parameters to a stored procedure. It shows how to display and insert the image from VB form to an Oracle Database in a BLOB column.
    http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb8/content.html
    Chandar

  • Can not dislplay Chinese correctly for sybase db, but correct display Chinese for Oracle db.

    i using sqldeveloper to connect sybase ase 12.5 server and stored Chinese. but when i query out the data , it can not dislplay Chinese correctly, even i using sybase jdbc driver or jtds jdbc driver both error.
    so how to setup sqldeveloper to support Chines for sybase database server.

    Hi Aman,
    I am using Windows 2003 Server on Microsoft Virtual Server.
    I am trying to take RMAN backup from EM. I changed 'system' and 'sys' user passwords in EM after login in as system as normal user. But even then can not connect.
    Also changed 'sys' user password in command ..now aI could login to EM as sys - SYSDBA but while scheduling back up it says
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - Connection to host as user dmadmin failed: ERROR: Wrong password for user
    Regards,
    Ranjith John

  • I tried to display gif image from oracle to jsp but nothing appear

    i tried to display image from oracle DB to jsp directly without using file processing , and i used Servlet and jsp , Servlet to get image from DB and jsp to use <img> tag , when i Run Servlet code
    the image appaer on Microsoft Photo Editor , and when i run jsp the image dose not appear on jsp page , so please anyone has an idea about this broblem ,send the soluation or any information to my e-mail [email protected] , and I'll thankful about your help.
    the Servlet and jsp code are below .
    thank for your help
    Servlet:
    import java.io.InputStream;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.PrintWriter;
    import java.io.IOException;
    public class Servlet extends HttpServlet
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    response.setContentType("image/gif");
    int id = Integer.parseInt(request.getParameter("no"));
    // int id = 2 ; when Run Servlet .
    ResultSet rs = null;
    Connection Lcon = null;
    String stmt = " select Image from ImageTable where lmage_id ="+id;
    Statement sm = null;
    String data1 ="";
    try
    Lcon = getConntcion();
    sm = Lcon.createStatement();
    rs = sm.executeQuery(stmt);
    if(rs.next())
    InputStream in = rs.getBinaryStream(1);
    ServletOutputStream sout = response.getOutputStream();
    int c;
    while((c=in.read())!= -1)
    sout.write(c);
    in.close();
    sout.flush();
    sout.close()
    }catch(Exception e)
    System.out.println("error in selectValue the error is "+e);
    finally
    rs .close( );
    sm .close( );
    Lcon.close( );
    public Connection getConntcion()
    Connection con = null;
    try{
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection(",,,,,,,, DB Info ,username and password ,,,,,,,,,,,");
    }catch(Exception e)
    System.out.println("error in connection the error is "+e);
    return con;
    Jsp code :
    <%@ page contentType="text/html"%>
    <html>
    <head
    </head>
    <title> testing image </title>
    <body>
    <form>
    <img src="servlet/Servlet?no=2">
    </form>
    </body>
    </html>

    InputStream in = rs.getBinaryStream(1);
    byte[] image= null;
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    byte[] buffer = new byte[8192];
    int bytesRead = 0;
    while ((bytesRead = in.read(buffer, 0, 8192)) != -1)
         baos.write(buffer, 0, bytesRead);
    image= baos.toByteArray();
    in.close();
    ServletOutputStream sout = response.getOutputStream();
    if (image != null)
           sout.write(image);
           sout.flush();
    }

  • Display Chinese characters on JSP under WebLogic 6.1

    We've recently migrated from WebLogic 5.1 to 6.1 and we found that all those
    Chinese JSP pages cannot display properly under Solaris, but it works on
    some Windows 2000 machines (but everything work under 5.1).
    However we haven't made any special changes to any configuration in all
    these machines. Why some of them work and some of them doesn't ? Those W2K
    machines work are running English version of Windows 2000, but with Chinese
    character sets installed.
    Our Chinese JSP pages use big5 character encoding instead of unicode.
    I've read a number of messages in this newsgroup but I'm still very
    confusing on how to fix the problem ...

    Hi,
    I have the same problem here. I am using weblogic 6.1 on W2k server. I save
    prpblem from those static contents in the jsp file, but those data in chinese
    from oracle database is working fine. I create a simple jsp file just with a simple
    text "hello world" in chinese, I save one as a html and one as a jsp. When I run
    this two under weblogic 6.1, the html file display correctly but the jsp is not.
    I try "UTF-8", "GB2312" and other charsets but all not working with jsp files.
    Please help.... Thank you.
    yanglin
    "Nohmenn BABAI" <[email protected]> wrote:
    >
    >
    Dear Ricky,
    Could you please check the following :
    If you are on Sun Solaris systems please check the LC values of your
    =
    environment as shown in example below.
    This is the cause of many troubles due to the fact that the JVM =
    considers these parameters to encode.
    (example given for Italian display, so I guess for you this will be =
    Big5)
    On Solaris 7 the right settings are=20
    LC_COLLATE=3Dit.ISO8859-15
    LC_CTYPE=3Dit.ISO8859-15
    LC_MESSAGES=3Dit
    LC_MONETARY=3Dit.ISO8859-15
    LC_NUMERIC=3Dit.ISO8859-15
    LC_TIME=3Dit.ISO8859-15=20
    on Solaris 8=20
    LC_COLLATE=3Dit_IT.ISO8859-1
    LC_CTYPE=3Dit_IT.ISO8859-1
    LC_MESSAGES=3Dit
    LC_MOLC_COLLATE=3Dit.ISO8859-15
    LC_NUMERIC=3Dit_IT.ISO8859-1
    LC_TIME=3Dit_IT.ISO8859-1
    Also another point to check is=20
    In All Weblogic Releases :
    You can add the flag -Dfile.encoding=3DUTF8 in the startup line to force
    =
    default encoding in the JVM
    In your Webloigc 5.1 property file
    # WEBLOGIC CHARACTERS PROPERTIES
    weblogic.httpd.inputCharset./russian/*=3DISO-8859-5
    weblogic.httpd.inputCharset./utf/*=3DUTF-8
    weblogic.httpd.inputCharset./french/*=3DISO-8859-1
    weblogic.httpd.inputCharset./japan*=3DShift_JIS
    # FOR ENCODING THE WHOLE SITE IN UTF-8, UNCOMMENT THE FOLLOWING LINE
    #weblogic.httpd.inputCharset./*=3DUTF-8
    In your weblogic.xml's Weblogic 6.1 and later :
    <weblogic-web-app>=20
    <charset-params>=20
    <input-charset>=20
    <resource-path>/japan*</resource-path>=20
    <java-charset-name>Shift_JIS</java-charset-name>=20
    </input-charset>=20
    </charset-params>
    =20
    <charset-params>=20
    <input-charset>=20
    <resource-path>/russian*</resource-path>=20
    <java-charset-name>ISO-8859-5</java-charset-name>=20
    </input-charset>=20
    </charset-params>=20
    <charset-params>=20
    <input-charset>=20
    <resource-path>/french*</resource-path>=20
    <java-charset-name>ISO-8859-1</java-charset-name>=20
    </input-charset>=20
    </charset-params>
    <charset-params>=20
    <input-charset>=20
    <resource-path>/UTF-8*</resource-path>=20
    <java-charset-name>UTF-8</java-charset-name>=20
    </input-charset>=20
    </charset-params> =20
    </weblogic-web-app>
    As you may have noted, the ressouce-path is starting from root, and =
    after you insert the directory where you want to define de encoding.
    This will influence the JVM when performing a compilation (please clean
    =
    the temp directories from any compiled jsps before re-starting your =
    WLS).
    Please reply in the forum is you still face the problem after all these
    =
    modifications.
    Best regards
    Nohmenn BABAI
    BEA EMEA Technical Support Engineer
    "Ricky Wong" <[email protected]> a =E9crit dans le message de news:
    =
    [email protected]...
    We've recently migrated from WebLogic 5.1 to 6.1 and we found thatall =
    those
    Chinese JSP pages cannot display properly under Solaris, but it works=
    on
    some Windows 2000 machines (but everything work under 5.1).
    =20
    However we haven't made any special changes to any configuration in=
    all
    these machines. Why some of them work and some of them doesn't ? Those=
    W2K
    machines work are running English version of Windows 2000, but with=
    Chinese
    character sets installed.
    =20
    Our Chinese JSP pages use big5 character encoding instead of unicode.
    =20
    I've read a number of messages in this newsgroup but I'm still very
    confusing on how to fix the problem ...
    =20
    =20<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY>
    <DIV><FONT face=3DArial size=3D2>Dear Ricky,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Could you please check the following
    =
    :</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>If you are on Sun Solaris systems =
    please check the=20
    <STRONG>LC</STRONG> values of your environment as shown in example=20
    below.<BR>This is the cause of many troubles due to the fact that the
    =
    JVM=20
    considers these parameters to encode.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>(example given for Italian display,
    so =
    I guess for=20
    you this will be <STRONG>Big5</STRONG>)</FONT></DIV>
    <DIV><BR><FONT face=3DArial size=3D2><FONT color=3D#ff0000><STRONG>On
    =
    Solaris 7 the=20
    right settings are</STRONG>=20
    <BR></FONT>LC_COLLATE=3Dit.ISO8859-15<BR>LC_CTYPE=3Dit.ISO8859-15<BR>LC_M=
    ESSAGES=3Dit<BR>LC_MONETARY=3Dit.ISO8859-15<BR>LC_NUMERIC=3Dit.ISO8859-15=
    <BR>LC_TIME=3Dit.ISO8859-15=20
    </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><FONT color=3D#ff0000><STRONG>on =
    Solaris 8</STRONG>=20
    <BR></FONT>LC_COLLATE=3Dit_IT.ISO8859-1<BR>LC_CTYPE=3Dit_IT.ISO8859-1<BR>=
    LC_MESSAGES=3Dit<BR>LC_MOLC_COLLATE=3Dit.ISO8859-15<BR>LC_NUMERIC=3Dit_IT=
    ..ISO8859-1<BR>LC_TIME=3Dit_IT.ISO8859-1</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><STRONG>Also another point to check
    =
    is</STRONG>=20
    </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>In All Weblogic Releases :<BR>You can
    =
    add the flag=20
    -Dfile.encoding=3DUTF8 in the startup line to force default encoding
    in =
    the=20
    JVM</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><STRONG>In your Webloigc 5.1 property=20
    file</STRONG></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2># # # # # # # # # # # # # # # # # #
    # # =
    # # # # # #=20
    # # # # # # # #<BR># WEBLOGIC CHARACTERS PROPERTIES<BR>#=20
    ------------------------------------------------<BR>weblogic.httpd.inputC=
    harset./russian/*=3DISO-8859-5<BR>weblogic.httpd.inputCharset./utf/*=3DUT=
    F-8<BR>weblogic.httpd.inputCharset./french/*=3DISO-8859-1<BR>weblogic.htt=
    pd.inputCharset./japan*=3DShift_JIS<BR>#=20
    # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #<BR>#
    =
    FOR=20
    ENCODING THE WHOLE SITE IN UTF-8, UNCOMMENT THE FOLLOWING LINE<BR>#=20
    ------------------------------------------------<BR>#weblogic.httpd.input=
    Charset./*=3DUTF-8</FONT></DIV>
    <DIV><BR><FONT face=3DArial size=3D2><STRONG>In your weblogic.xml's =
    Weblogic 6.1 and=20
    later :</STRONG></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><weblogic-web-app> </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><charset-params> =
    <BR><input-charset>=20
    <BR><resource-path>/japan*</resource-path>=20
    <BR><java-charset-name>Shift_JIS</java-charset-name>=20
    <BR></input-charset>=20
    <BR></charset-params><BR> <BR><charset-params>=20
    <BR><input-charset>=20
    <BR><resource-path>/russian*</resource-path>=20
    <BR><java-charset-name>ISO-8859-5</java-charset-name>=20
    <BR></input-charset> <BR></charset-params> </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><charset-params> =
    <BR><input-charset>=20
    <BR><resource-path>/french*</resource-path>=20
    <BR><java-charset-name>ISO-8859-1</java-charset-name>=20
    <BR></input-charset> <BR></charset-params></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><charset-params> =
    <BR><input-charset>=20
    <BR><resource-path>/UTF-8*</resource-path>=20
    <BR><java-charset-name>UTF-8</java-charset-name>=20
    <BR></input-charset> <BR></charset-params>  =
    </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></weblogic-web-app></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><EM>As you may have noted, the =
    ressouce-path is=20
    starting from root, and after you insert the directory where you want
    to =
    define=20
    de encoding.</EM></FONT></DIV>
    <DIV><EM><FONT face=3DArial size=3D2></FONT></EM> </DIV>
    <DIV><EM><FONT face=3DArial size=3D2></FONT></EM> </DIV>
    <DIV><FONT face=3DArial size=3D2>This will influence the JVM when =
    performing a=20
    compilation (please clean the temp directories from any compiled jsps
    =
    before=20
    re-starting your WLS).</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Please reply in the forum is you still
    =
    face the=20
    problem after all these modifications.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Best regards</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Nohmenn BABAI</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>BEA EMEA Technical Support =
    Engineer</FONT></DIV>
    <DIV><FONT face=3DArial><BR><FONT size=3D2></FONT></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>"Ricky Wong" <</FONT><A=20
    href=3D"mailto:[email protected]"><FONT face=3DArial=20
    size=3D2>[email protected]</FONT></A><FONT face=3DArial =
    size=3D2>> a =E9crit dans=20
    le message de news: </FONT><A =
    href=3D"mailto:[email protected]"><FONT=20
    face=3DArial size=3D2>[email protected]</FONT></A><FONT =
    face=3DArial=20
    size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> We've recently
    =
    migrated from=20
    WebLogic 5.1 to 6.1 and we found that all those<BR>> Chinese JSP =
    pages cannot=20
    display properly under Solaris, but it works on<BR>> some Windows
    =
    2000=20
    machines (but everything work under 5.1).<BR>> <BR>> However we
    =
    haven't=20
    made any special changes to any configuration in all<BR>> these =
    machines. Why=20
    some of them work and some of them doesn't ? Those W2K<BR>> machines
    =
    work are=20
    running English version of Windows 2000, but with Chinese<BR>> =
    character sets=20
    installed.<BR>> <BR>> Our Chinese JSP pages use big5 character
    =
    encoding=20
    instead of unicode.<BR>> <BR>> I've read a number of messages in
    =
    this=20
    newsgroup but I'm still very<BR>> confusing on how to fix the problem
    =
    ....<BR>> <BR>> </FONT></BODY></HTML>

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

  • How Oracle tables can be used to display Chinese/Japanese characters

    If anyone knows how to display Chinese/Japanese characters from Oracle tables please reply this email. Thanks.
    Regards,
    Preston

    hi
    ->Also please let me know how the Oracle Lite is licenced if I have 300 odd users of this offline applications
    you should speak to your local oracle rep about that, for us for example they gave a pretty cheap packet for olite 10gr3+ 11g repository
    ->need to use only database part of Oracle Lite and not mobile server.
    you cant do that. mobile server is the application server that handles the synchronization process from the server side. when a client tries to sync he actually connects to the mobile server and asks for the database changes , the mobile server know what the client must get so he packs it and give it to him
    ->you can ofc make lightweight .net apps using olite. we make olite apps even for wince handhelds. so yes ofcourse you can. olite had a win32 client also.
    ->can it run from usb.
    ok here to be honest ive never tried that myself, looks kinda weird as a requirement to be honest but i dont see why it shouldnt run. if you set up the paths correctly you shouldnt have a problem i think.
    ->offline application will have more or less similar data entry forms and storage structure
    yes ofcourse , if i have 3 tables in server i can choose to have 2(or all ) of them on the client too. i can even separate which client gets what. for instance if client a sells houses in new york he will get only the house table rows for new york. if another sells for chicago he will get those instead and etc.
    ->all client apps are offline and sync periodically (when you choose) to the server

  • I cannot display image (read from oracle BLOB field) on browser?

    I cannot display image (read from oracle BLOB field) on browser?
    Following is my code, someone can give me an advise?
    content.htm:
    <html>
    <h1>this is a test .</h1>
    <hr>
    <img  src="showcontent.jsp">
    </html>showcontent.jsp:
    <%@ page import="com.stsc.util.*" %>
    <%@ include file="/html/base.jsp" %>
    <% 
         STDataSet data = new STDataSet();
    //get blob field from database     
         String sql = "SELECT NR FROM ZWTAB WHERE BZH='liqf004' AND ZJH='001'";
         //get the result from database
         ResultSet rs = data.getResult(sql,dbBase);
         if (rs!=null && rs.next()) {
              Blob myBlob = rs.getBlob("NR");
              response.setContentType("image/jpeg");//
              byte[] ba = myBlob.getBytes(1, (int)myBlob.length());
              response.getOutputStream().write(ba);
              response.getOutputStream().flush();
         // close your result set, statement
         data.close();     
    %>

    Don't use jsp for that, use servlet. because the jsp engine will send a blank lines to outPutStream corresponding to <%@ ...> tags and other contents included in your /html/base.jsp file before sending the image. The result will not be treated as a valid image by the browser.
    To test this, type directly showcontent.jsp on your browser, and view it source.
    regards

  • Displaying Chinese read from resource bundles

    I have trouble displaying Chinese characters in my application. The text strings in the application that is shown to the user are put into resource bundles (ResourceBundle). In the file text_zh_TW.properties, the chinese text strings are located. The file is stored in UTF-8 format.
    When I fetch a chinese string from this file and display it in the GUI, it is not dispalyed properly. It is displayed almost like this '����>'.
    When I "format" the file by using native2ascii, the chinese chars are replaced by unicode escape numbers in the file. Then it works. But I will rather not format the file, because it makes maintanence more difficult.
    I'm using JBuilder as development tool.
    Does anyone know how to do this?

    u are just trying to do nothing but the internalisation concept. usually wat we do is that for example if we want o display any french language or german language we just use go to the corresponding trnslating websites and fetch those french words or any other corresponding language and use to store those words .properties file and after that we will display those words for the selected language.
    now ur problem is that as we dont have chinese letters in our keyboards u just go to the sites which will translate those words u mention and u just take a print screen and convert those words by cutting using mspaint and save it as .jpg file format and display those wods correspondingly....

Maybe you are looking for