You can't. Java property files are always encoded in ISO-8859-1. In
order to use other characters you need to escape them properly. There
is an encoder/decoder for it and/or eclipse plugin.

-Matej

On 7/19/07, wheleph <[EMAIL PROTECTED]> wrote:
>
> Hi everyone!
>
> I've got the following problem.
>
> My component needs to display a cyrillic string. I put it in corresponding
> .propreties with encoding cp1251.
>
> But it's read like
> Íåïðàâèëüíûé ëîãèí/ïàðîëü
> instead of
> Неправильный логин/пароль
>
> The problem is that the file is read like iso-8859-1. How can I set the
> desired encoding?
>
> Any ideas?
> --
> View this message in context: 
> http://www.nabble.com/.properties-encoding-tf4110226.html#a11687794
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to