Hey all

I am trying to submit form data with UTF-8 characters but am having no luck.
The special characters are garbled when inserted in the database from a
<s:form> for example - this is regardless of what browser I am using. I am
using a page content type declaration for each page, but that doesn't help
at all. Do I need to declare it somewhere else in my Struts 2 application? I
remember that I in my old JSP/Servlet app had to convert certain characters
to special UTF-8 characters before saving Strings etc... but in S2 all I get
is question marks for special characters when I inspect incoming UTF-8
strings.

I am using this content type declaration. 
<%@ page contentType="text/html; charset=ISO-8859-15" %> 

I also used <%@ page pageEncoding="UTF-8" %> but to no avail.

Help!

Thanks!
-- 
View this message in context: 
http://www.nabble.com/-S2--UTF-8-woes-tf3688315.html#a10311092
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to