2013/7/15 Alireza Fattahi <afatt...@yahoo.com>: > 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.
Could you post content of messages.resource (properties?!?!)? > 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. Yes, it is. 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