strange end-of-line character

Sam Ruby rubys at intertwingly.net
Thu Jan 31 22:30:55 EST 2008


Tom Schrijvers wrote:
> Hi,
> 
> 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 Ruby


More information about the devel mailing list