Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 17th, 2004, 06:48 AM
Authorized User
 
Join Date: Feb 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cash
Default why I can't use Chinese words?

When I write some Chinese word in JSP files .There is something wrong .The words appear like ????. When I read data from MYSQL the some problems occur.What can I do with this problem?




                                            Thanks


 
Old February 17th, 2004, 08:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

By default MySQL uses the ISO-8859-1 (Latin1) character set. You will need to change MySQL to use the character set that you require. Consult the mysql web site for information on how to do this.

Cheers

Martyn
 
Old February 18th, 2004, 09:01 PM
Authorized User
 
Join Date: Feb 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cash
Default

Thanks Martyn.
But how to do with the static JSP page?




                                        Thanks
 
Old February 19th, 2004, 07:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have a look at this url, it should get you started:

http://seba.studentenweb.org/thesis/db-mysql.php


Cheers

Martyn
 
Old February 19th, 2004, 10:47 PM
Authorized User
 
Join Date: Feb 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cash
Default

I got it thanks very much Martyn!!!!!:)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chinese characters rajanikrishna ASP.NET 1.0 and 1.1 Basics 1 April 25th, 2006 10:25 PM
I'm chinese ChinaWolf C# 3 January 23rd, 2006 04:32 AM
i'm chinese wsaspx General .NET 1 April 6th, 2005 07:04 AM
why I can't use Chinese words? cash Pro JSP 1 February 17th, 2004 02:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.