June 19, 2004

Upgrading MT 2.51 to 3.0D

I've been in trouble upgrading MT 2.51 to 3.0D, with BarkleyDB, despite of upgrade instruction, after running mt-update30.cgi, IT WORKED!

Thanks for someone pointed this to work it out in MT Support Forum.

Posted by gashu at Jun 19, 2004 | Comments (0) | TrackBack

May 26, 2003

Reloading.

No excuses.

I've got enough sleep.

Oh, and I have to find next apartment to stay...

Posted by gashu at May 26, 2003 | Comments (0) | TrackBack

May 25, 2003

The Vim Mug

Finally you can join your favorite drink with your favorite editor: It's the Vim mug! Besides the Vim logo there are a dozens of Vim commands explained. We tried adding all the commands, but realized it's difficult to drink coffee from a bath tub. You can order the Vim mug with rootshop.de. Note: the site is in German and orders can be made from Europe only. As a nice touch half a euro of each mug goes to ICCF Holland.

Wow! At last we can drink coffee with Vim!

Posted by gashu at May 25, 2003 | Comments (0) | TrackBack

March 22, 2003

December 09, 2002

How to use UTF-8 with Movable Type

Here's what I did to display UTF-8 with Movable Type.

  1. mf.cfg : Set PublishCharset to UTF-8.
  2. mf.cfg : Set NoHTMLEntities to 1 (remove comment #)
  3. lib/MT/default-templates.pl : Replace all the "iso-8859-1" entities to "utf-8." You should do this before you edit templetes because its charset will be applied to templetes after you rebuild.
  4. extlib/CGI.pm : Replace "ISO-8859-1" entity of line 376 to "UTF-8". There are several "ISO-8859-1" entities in it, but I just did for that one line, which is below commented "safe ISO-8859-1 something".

Below the additional modification

  • Modify font family/font size in styles.css. Probably you need to do this if you use CJK environment for readability.

That's it! I hope Movable Type use UTF-8 for its default charsert someday.

FYI: Currently, seems Blogger doesn't support UTF-8, but you can use non-latin languages to modify its templete file, just replace "ISO-8859-1" entity in its templete to charset you use. e.g. "SHIFT-JIS" for Japanese.

Posted by gashu at Dec 9, 2002 | Comments (0) | TrackBack