Matej Knopp-2 wrote:
> 
> You can't. Java property files are always encoded in ISO-8859-1.
> 

I don't think so because actual loading look like this:

properties.load(new BufferedInputStream(resourceStream.getInputStream()));
strings = new ValueMap(properties);

java.util.Properties.load(InputStream) really assumes that output is encoded
in ISO-8859-1. But there is java.util.Properties.load(Reader) where
InputStreamReader instance may be passed. And InputStreamReader accepts
various charsets.

I think using the latter method instead of original may be nice improvement
in Wicket framework.
-- 
View this message in context: 
http://www.nabble.com/.properties-encoding-tf4110226.html#a11689103
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

Reply via email to