Err, sorry to contradict you, but to quote from Sun's documentation of
the Properties class:

"This format uses the ISO 8859-1 character encoding.  Characters that
cannot be directly represented in this encoding can be written using
Unicode escapes..."

Absolutely no mention of this ASCII restriction at all.  I always found
this restriction somewhat absurd, and was forced to write my own version
of the properties class that could accept more useful encodings for its
load/save methods.

Mark



On Mon, 2006-03-20 at 14:58 +0100, Antonio Petrelli wrote:
> John-Paul Delaney ha scritto:
> > A little earlier I found out that they can only use Latin1
> > encoding, ...
> >   
> Sorry to contradict you, ".properties" files must use ASCII 7-bit (e.g. 
> stressed characters must be \uXXXX). Anyway that was the "other" answer 
> I had in mind ;-)
> Ciao
> Antonio
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs SkyScan 
> service.


________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs SkyScan 
service.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to