[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Missing post? - see this post about spam for more information.
How to get the particular language charcters  XML
Forum Index » J2EE Application Development
Author Message
srinivasyadav

Newbie

Joined: 10/16/2007 00:16:48
Messages: 1
Offline

Hi Experts here,

I am getting the document title from autonomydatabase there document title is displaying in correct
format like this way Subchapter 04.12.4 点这里到 -> 天空软件下载. I am fetching the
same doucment title using the jsp code. I have set the code and browser settings in the UTF-8
format also i am not able to displaying the document title it is displaying like this:Subchapter 04.12.4 ???? -> ??????
I am able to see the English characters perfectly .But other than English It is not displaying PROPERLY



this is my jsp code test.jsp:


<%@ page import="com.verity.component.VComponents" contentType="text/html; charset=UTF-8"%>

<%=docs[i].getField("documenttitle").getValue()%>

Output:
Subchapter 04.12.4 ???? -> ??????
???? -> ?????? are chinese characters

thnanks
srinivas kota
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 884
Location: Superior, CO, USA
Offline

Remember that the browser still has to have the character sets available to it. If it doesn't know how to render the output it ends up putting the question marks.

What browser and O/S are you on? Have you tried a different browser or a different machine that might have had the Chinese character set installed?

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
 
Forum Index » J2EE Application Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2012 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle