Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP - JSP - Retriving chinese character from database

Status
Not open for further replies.

leafy

IS-IT--Management
Jul 28, 2003
3
SG
Hi, i have a problem here ... i'm trying to retrieve chinese character from the database ... when i input a chinese character into a textbox, the chinese words appear as normal ... however when i try to retrieve the chinese character from the database back into the textbox .... all my output is &quot;???&quot; question mark. I have included the following code at the beginning of my document; <%@ page language = &quot;java&quot; contentType=&quot;text/html; charset=GB2312&quot; pageEncoding=&quot;GB2312&quot; %> <html> <head> <title>Members Profile</title> <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=gb2312&quot;>

I am using mySQL and NJStar communicator as the chinese software .... if i change gb2312 to gb18030 everything works, however gb18030 is the older version of the chinese character ..... Plsssss helppppp meeee.... thank u
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top