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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with UTF-8 and JSP

Status
Not open for further replies.

boske3

Programmer
Mar 11, 2006
20
RS
I have problem with UTF-8 character set.
I use MySQL 5 and Tomcat 5.5.9.I use NetBeans for programinnig
in Java.
I made one database and is in UTF8,also all my JSP pages are set to
UTF8 encoding,and also all HTML are set to UTF8.
When i put š,?,?,?,ž character date in database directly from MySQL Query tool and
and display that data in jsp pages i see all character ok, but
when i use jsp pages to insert ?,?,ž,? character and want to display them
i got some strange characters.
Also i put my IE browser to UNICODE UTF8 encoding.
How can i see correct š,?,?,ž,? in my browser correct?
Thanks
 
I also solved this problem.It's a quite a tricky
Who have problems like me go to this site:
I had use only first 3 steps and i got it write.
But before using this u must set UTF 8 character set in your MySQL database.
who wants details about MySQL config. please ask
Bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top