On Mon, Nov 21, 2011 at 10:20 AM, Christian Grobmeier
<grobme...@gmail.com> wrote:
> 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?

As long as you are using native2ascii, property files support CJKV.

--
Martin Cooper


> 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