Alan Burlison a écrit :
Properties files have to be ISO 8859-1:
"the input/output stream is encoded in ISO 8859-1 character encoding.
Characters that cannot be directly represented in this encoding can be
written using Unicode escapes"
That's if they use the PropertyResourceBundle(InputStream stream)
constructor.
But PropertyResourceBundle(Reader reader) doesn't seem to have the same
limitation:
"Creates a property resource bundle from a Reader. Unlike the
constructor PropertyResourceBundle(InputStream), there is no limitation
as to the encoding of the input property file."
http://java.sun.com/javase/6/docs/api/java/util/PropertyResourceBundle.html#PropertyResourceBundle%28java.io.Reader%29
Can't that be used here?
Laurent
--
/ Leader de Projet & Communauté | I'm currently on leave from
\ G11N http://fr.opensolaris.org | Bull Services http://www.bull.com
/ FOSUG http://guses.org |
_______________________________________________
website-discuss mailing list
[email protected]