November 15, 2004

International Web Site

Some of you may have noticed garbage characters displaying in the Now Playing section of my home page (upper-right). This is something that had been bothering me for a while but I wasn't sure how to best go about it. Another thing that was bothering me was the timestamps in all these blog entries. It may have seemed weird for my posts to be at 5am or even more disturbing, in the future.

Well, the reasons for this are because I was dumping the native character bytes into my Now Playing file on disk, and my blog timezone is set to UTC (as is my server timezone). Easily fixed after some investigation. Rather than encode the foreign language characters into unicode, I changed Apache's default character set to UTF-8. Then I did some digging in the Movable Type template tags documentation and found the <$MTBlogTimezone$> variable. Everything looks good now.

Posted by josuah at November 15, 2004 7:54 AM UTC+00:00

Trackback Pings

TrackBack URL for this entry:
http://www.wesman.net/cgi-bin/mt/mt-tb.cgi/38

Comments

Author Profile Pagerunnershigh says at November 16, 2004 11:42 PM

So how long did it take you to do everything you mentioned in paragraph two of this blog?

Author Profile PageJosuah says at November 16, 2004 11:44 PM

Longer than it should have because I was trying at first to convert the characters to unicode and then using HTML entities to encode them. UTF-8 is just easier.

Post a comment

July 2013
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search