Raphaël Luta wrote:

> At 02:27 07/02/2001 -0500, you wrote:
> 
>> Hi,
>> 
>> I am unable to get the ./build.sh webapp target to build
>> the jetspeed.war file. I get about 100 errors regarding
>> incorrect characters in
>> 
>> org/apache/jetspeed/modules/localization/JetspeedLocalization_fr.java
>> 
>> ?
> 
> 
> Never encountered this one... :(
> 
> I would say it's an encoding conversion error.
> Is your OS configured to support the iso-8859-1 encoding ?

I think we are hitting one here. We are storing the files in CVS as 
iso-8859-1, which means that people downloading this files into 
computers that use different encodings (say utf-8, or jis, ...) will 
have them badly unencoded. When somebody stores the japanese files using 
jis, ... I will not be able to download them, except by clever tricks 
like using emacs to convert encodings and save.

java assumes that local files are in a given local encoding (you can see 
it in the properties, in jetspeed admin screen). This, AFAIK, can not be 
changed. My encoding is

file.encoding=ISO-8859-1



The only safe way to store characters > 127 is to store them as \uXXXX. 
I wonder if there is some program to clean them automatically. Even in 
this case, we will loose completely legibility. Bad for messages :(




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to