strange end-of-line character
Tom Schrijvers
Tom.Schrijvers at cs.kuleuven.be
Thu Jan 31 23:17:09 EST 2008
>> I started a new planet recently, Planet Prolog at:
>> http://www.cs.kuleuven.be/~toms/PlanetProlog/
>>
>> Something is wrong with the end-of-line characters of a Google notebook
>> feed that I added (the feed of
>> http://www.google.com/notebook/public/08330933169560253578/BDQT7SgoQ3_aR_-si)
>>
>> This feed is not displayed correctly. The end-of-line characters appear
>> as Â.
>> Could anyone tell me how to fix this situtation?
>
> $ curl --head http://www.cs.kuleuven.be/~toms/PlanetProlog/
> HTTP/1.1 200 OK
> Date: Thu, 31 Jan 2008 11:28:42 GMT
> Server: Apache
> Last-Modified: Thu, 31 Jan 2008 11:23:08 GMT
> ETag: "c0a20-bd5c-e1d61f00"
> Accept-Ranges: bytes
> Content-Length: 48476
> Content-Type: text/html; charset=ISO-8859-1
>
> That last line should either read:
>
> Content-Type: text/html; charset=UTF-8
>
> or simply
>
> Content-Type: text/html
>
> You might find the information on this page helpful:
>
> http://www.w3.org/International/O-HTTP-charset
Sam,
Thanks, adding the line
AddCharset UTF-8 .html
to the .htaccess file did the trick.
Cheers,
Tom
--
Tom Schrijvers
Department of Computer Science
K.U. Leuven
Celestijnenlaan 200A
B-3001 Heverlee
Belgium
tel: +32 16 327544
e-mail: tom.schrijvers at cs.kuleuven.be
url: http://www.cs.kuleuven.be/~toms/
More information about the devel
mailing list