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,
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,
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
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
--
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,
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
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
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
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
9 matches
Mail list logo