Hai,I've a problem with retrieval of unicode chars using a JSP from SQL Server2k.They are displayed as "???".I've set my browser appropriately.Thanks
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sreedhar_M
Posted On:   Tuesday, June 4, 2002 06:14 AM








fileid=rs.getString("data");


catName = new String(fileid.getBytes(),"ISO8859_1");





<%= catName%>





Re: Hai,I've a problem with retrieval of unicode chars using a JSP from SQL Server2k.

Posted By:   Mukund_Ramadoss  
Posted On:   Wednesday, June 5, 2002 10:13 AM

We had similar problem with UTF charset database. While posting and reading back the Japanese characters read as ???.
In our case the database is Oracle.


Before bringing up your webserver or appserver whichever you use, when we set the env variable NLS_LANG to AMERICAN_AMERICA.UTF8. Our problem got resolved. We didn't have to do a byte code conversion. See if you have a equivalent in SQL Server.


HTH

Mukund

About | Sitemap | Contact