You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Mattias Jiderhamn <mj...@expertsystem.se> on 2005/07/26 20:13:25 UTC

[all] File encoding

What file encoding is expected in the SVN repository?

I've had some problems with the i18n sources, 
since the existing files seemed to encode German 
ü and Swedish åäö using ANSI 
(Latin-1/ISO-8859-1/windows-1252) while my 
patches, when committed by Daniel Florey, got 
UTF-8 encoding (which led to failed tests). This 
leads me to wonder, what encoding *should* be used?

Thanks in advance,
   Mattias Jiderhamn


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [all] File encoding

Posted by Mattias Jiderhamn <mj...@expertsystem.se>.
On the other hand, it seems the web pages present 
themselves as being ISO-8859-1

><meta http-equiv="Content-Type" 
>content="text/html; charset=ISO-8859-1"></meta>

And on the the i18n examples, the Swedish 
characters look weird, at least in my browsers, 
http://jakarta.apache.org/commons/sandbox/i18n/examples.html
(On the other hand, in this file I explicitly 
stated ISO-8859-1 but the characters were encoded as UTF-8).

At 2005-07-26 21:28, you wrote:
>I would ten thousand times vote for UTF-8 but I 
>agree it is not yet the default.
>
>paul
>
>
>Le 26 juil. 05, à 20:13, Mattias Jiderhamn a écrit :
>
>>What file encoding is expected in the SVN repository?
>>
>>I've had some problems with the i18n sources, 
>>since the existing files seemed to encode 
>>German ü and Swedish åäö using ANSI 
>>(Latin-1/ISO-8859-1/windows-1252) while my 
>>patches, when committed by Daniel Florey, got 
>>UTF-8 encoding (which led to failed tests). 
>>This leads me to wonder, what encoding *should* be used?
>>
>>Thanks in advance,
>>   Mattias Jiderhamn
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>

Re: [all] File encoding

Posted by Paul Libbrecht <pa...@activemath.org>.
I would ten thousand times vote for UTF-8 but I agree it is not yet the 
default.

paul


Le 26 juil. 05, à 20:13, Mattias Jiderhamn a écrit :

> What file encoding is expected in the SVN repository?
>
> I've had some problems with the i18n sources, since the existing files 
> seemed to encode German ü and Swedish åäö using ANSI 
> (Latin-1/ISO-8859-1/windows-1252) while my patches, when committed by 
> Daniel Florey, got UTF-8 encoding (which led to failed tests). This 
> leads me to wonder, what encoding *should* be used?
>
> Thanks in advance,
>   Mattias Jiderhamn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org