Re: Options on UTF-8 Localizations

2011-11-21 Thread Christian Grobmeier
Honestly, I was already glad to read Martins suggestion.
But now I really don't know how I could survive so long without IntelliJ.
You two guys have saved me tons of work, it all works excellent.
Thanks!

2011/11/22 Łukasz Lenart :
> 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 :
>> 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
>> 
>>
>> but it doesn't help. I need to use \u 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
>



-- 
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



Re: Options on UTF-8 Localizations

2011-11-21 Thread Łukasz Lenart
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 :
> 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
> 
>
> but it doesn't help. I need to use \u 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



Re: Options on UTF-8 Localizations

2011-11-21 Thread Martin Cooper
On Mon, Nov 21, 2011 at 10:20 AM, Christian Grobmeier
 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
> 
>
> but it doesn't help. I need to use \u 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



Options on UTF-8 Localizations

2011-11-21 Thread Christian Grobmeier
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


but it doesn't help. I need to use \u 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