You can enable native2ascii conversation on-the-fly with your IDE, it
works very well in IntelliJ IDEA, go to Settings -> File Encodings ->
select Transparent native-2-ascii conversion


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

2011/11/21 Christian Grobmeier <grobme...@gmail.com>:
> Folks,
>
> I use the property files for localization. But well, property files
> are pretty limited as they can only do iso. I need UTF-8 urgently now,
> because I have chinese characters at hand. What are my options?
>
> I have that:
>
> struts.i18n.encoding=UTF-8
> <constant name="struts.i18n.encoding" value="UTF-8"/>
>
> but it doesn't help. I need to use \u0000 format but of course this
> would mean my sudden death when I need to find out all the chinese
> stuff in unicode.
>
> I have never seen a xml resource bundle which would support utf-8.
>
> Any ideas? I am willing to write something myself if necessary, just
> need a starter.
> And while we are at it, why is a property file still the default and not xml?
>
> Cheers
>
>
> --
> http://www.grobmeier.de
> https://www.timeandbill.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

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

Reply via email to