You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nenad Bosanac <bo...@yahoo.com> on 2006/03/20 15:56:36 UTC
Problems with UTF-8 and JSP
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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problems with UTF-8 and JSP
Posted by Mark Thomas <ma...@apache.org>.
Nenad Bosanac wrote:
> 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
At a guess you need to look at the URIEncoding attribute on the connector.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org