Re: s:text encoding issue

2011-10-19 Thread Zoran Avtarovski
Hi Lucasz, Here's the entry from struts.xml constant name=struts.i18n.encoding value=UTF-8/ Z. On 19/10/11 4:23 PM, Łukasz Lenart lukasz.len...@googlemail.com wrote: 2011/10/19 Zoran Avtarovski zo...@sparecreative.com: We are using struts 2.2.2, everything is UTF-8, struts, jsp,

Re: s:text encoding issue

2011-10-19 Thread Li Ying
I tried the JSP code which you posted. It works fine. What is your [locale]? you said, you [select Arabic], do you mean [locale] is [Arabic]? What name is your property file, and what is the content in it? - To unsubscribe,

Re: s:text encoding issue

2011-10-19 Thread Zoran Avtarovski
It woks fine for the default locale for me as well. Where it fails is when the selected locale is Arabic. Using the getText method in application support works as expected but s:text fails to render the text correctly. Z. On 19/10/11 11:20 PM, Li Ying liying.cn.2...@gmail.com wrote: I tried

Re: s:text encoding issue

2011-10-19 Thread Łukasz Lenart
I did the same with struts2-blank example application and it works just fine. My Mac uses EN locale by default but you can change locale in the app with request_locale parameter and it works as expected. What you mean by the selected locale is Arabic ? Is it the system locale ? Kind regards --

Re: s:text encoding issue

2011-10-19 Thread 铁屋子读书
I tried the JSP code which you posted. It works fine. What is your [local]? What name is your property file, and what content in it? And one more thing, you said, you [select Arabic], what does that mean? - To unsubscribe,

Re: s:text encoding issue

2011-10-19 Thread Zoran Avtarovski
No. My Mac uses en_AU as the default, but like you we use the request_locale parameter with the required locale. The system is designed to enable users to select the desired locale. The strange part is that that we haven't had any issues in the past when we just had Scandinavian languages, the

Re: s:text encoding issue

2011-10-19 Thread Łukasz Lenart
There is a small difference how the both calls flow throughout internal I18N support. Could you send to me the phrase you have problem with ? In Arabic ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ W dniu 20

s:text encoding issue

2011-10-18 Thread Zoran Avtarovski
I'm having an issue using the s:text tag, in that it is displaying garbage on the screen. But if I use a s:property tag all works well. For example if I use the two following tags and select Arabic: s:property value=getText('language.selection.instructions')/ s:text

Re: s:text encoding issue

2011-10-18 Thread Łukasz Lenart
2011/10/19 Zoran Avtarovski zo...@sparecreative.com: We are using struts 2.2.2, everything is UTF-8, struts, jsp, sitemesh, freemarker and jdbc connection. and struts.i18n.encoding= ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura