But that other poster was using Struts 1! Also, I am already using 
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"></meta> 
Has anyone had luck using for example å ä ö in S2 ?

I am a very savvy Struts 2 mailing list user you know :)


<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"></meta> 


Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> meeboo,
> 
> It's amazing to me that people not only don't read the archives, but
> they also don't read the messages posted on the same day or even in the
> /same hour/. :(
> 
> - -chris
> 
> meeboo wrote:
>> 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!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD4DBQFGOjVa9CaO5/Lv0PARAqQeAJjR3Q4cAAOViTNxlRbVB9jH+/COAJ9bRghJ
> Gf3FpAnWCwY9yquHPPsKLw==
> =S2nd
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--UTF-8-woes-tf3688315.html#a10312120
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