On 18/06/2011 22:29, André Malo wrote:
> * Nick Kew wrote:
>
>> On 18 Jun 2011, at 20:32, Rich Bowen wrote:
>>> Today I noticed that there's some kind of weirdness with non-printable
>>> characters in the documentation. See attached screenshot.
>>>
>>> Was there a recent change to the XSLT files?
>>
>> Doesn't look like it from a glance at the svn. No change to the XSLT
>> since 2009. More likely the server suddenly started incorrectly sending
>> it as utf-8.
>>
>> However, that does beg the question: shouldn't we move to utf-8
>
> This begs another question: Why would we want that?
As a french translator of the apache docs, I would love to not be
running scripts like below at commit time, and the revert script when I
want to edit the XML file again. If UTF-8 would prevent us from running
these scripts, this would be a good thing for us. I cannot speak for
German/Korean/other translators, but I must suppose they have met some
similar conversion things.
Vincent Deffontaines
Example script :
sed -e 's/À/\À/g' \
-e 's/Ç/\Ç/g' \
-e 's/È/\È/g' \
-e 's/É/\É/g' \
-e 's/Ê/\Ê/g' \
-e 's/Î/\Î/g' \
-e 's/Ù/\Ù/g' \
-e 's/Û/\Û/g' \
-e 's/à/\à/g' \
-e 's/â/\â/g' \
-e 's/ä/\ä/g' \
-e 's/æ/\æ/g' \
-e 's/ç/\ç/g' \
-e 's/è/\è/g' \
-e 's/é/\é/g' \
-e 's/ê/\ê/g' \
-e 's/ë/\ë/g' \
-e 's/ô/\ô/g' \
-e 's/Ô/\Ô/g' \
-e 's/î/\î/g' \
-e 's/ï/\ï/g' \
-e 's/ù/\ù/g' \
-e 's/û/\û/g' \
-e 's/ü/\ü/g' \
etc.
>
>> How has infra handled multiple charsets in the past?
>
> mod_mime, I believe (modulo some exceptional handling for special
> extensions). Most certainly, it was delivered as iso-8859-1 before, if not
> specified otherwise via file extension.
>
> AddDefaultCharset iso-8859-1 or even better an AddCharset iso-8859-1 .html
> for the manual section should solve the problem.
>
> nd
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]