Superpatterns Pat Patterson on the Cloud, Identity and Single Malt Scotch

9Jul/052

Fixed Encoding Problems on Planet Identity

Regular readers of Planet Identity may have already noticed that I recently fixed an annoying problem with character encoding. The HTML content is UTF-8, but Apache was indicating in the HTTP header that it was ISO-8859-1. This caused non-alphanumeric characters in many posts to appear as multiple 'garbage' characters. Telling Apache that the encoding is UTF-8 (by setting AddDefaultCharset utf-8 in the relevant "VirtualHost" section of the Apache configuration file) fixed the problem - even Tatsuo Kudo's posts appear correctly, in Japanese (although I have to use Google Language Tools to figure them out ).
Thanks to David Edmondson (proprietor of Planet Sun) for the tip, and continued thanks to Stephen Lau for hosting Planet Identity.

Filed under: Identity Leave a comment
Comments (2) Trackbacks (0)
  1. C’mon, Pat… can’t you take a guess at browser language from the http header and do the Google translate of Tatsuo’s blog on the fly for us? Is it so much to ask…??? ;^)

    Good job covering Catalyst – sounds like you are mixing with the in crowd…

  2. Uh-huh.. I’ll put that one on the RFE list, Robin :-). Yeah – Catalyst is a lot of fun this year. More blogging to come on that topic, for sure…


Leave a comment

No trackbacks yet.