Hi,

I used to save the messages.resources with UTF-8 encoding
and the <s:text name="some.text" /> showed correctly but the json validation 
messages not!

I saved mesages.resource with ansi encoding and chaned all strings from native 
to ascii ( by http://native2ascii.net/ )
the json validation messages displayed correctly but the <s:text 
name="some.text" />  did not show correct messages, just question marks.

I added <%@ page contentType="text/html; charset=utf-8" %> to the page and now 
I have correct  json validation messages AND  <s:text name="some.text" />

I don't know is it best practice or not.



 
~Regards,
~~Alireza Fattahi


________________________________
 From: Lukasz Lenart <lukaszlen...@apache.org>
To: Struts Users Mailing List <user@struts.apache.org> 
Sent: Monday, 15 July 2013, 13:30
Subject: Re: json validation with utf-8 error messages
 

2013/7/15 Alireza Fattahi <afatt...@yahoo.com>:
> Any comments?!

Any example?!?!?!?!?!?!


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to