• A Malaysian blogger, developer and geek who lives and works in Singapore. Typical Otaku (宅男). Involved in iPhone apps dev, content delivery system and web sites development.
    Co-founder and technical development of SMSYO.com.

    Email:paikia [at] gmail.com | Twitter: @paikia | Facebook: paikia

  •  
  •  

Subscribe to this blog

Subscribe to full feed RSS
HOT DEAL: Looking for Aweber $1 deal? Click here.

Subscribe Via Email

We respect your privacy.

WordPress GB2312升级到UTF-8

By On January 29, 2007 Under Chinese, Life, Technology

终于将我的网站从GB2313转换成UTF-8!对普通的浏览者表面上不会察觉什么,但支援Unicode是更加符合国际标准。Unicode能直接显示所有的简体、繁体及其他语言文字。之前转换后,一直出现“????”的符号,我以为失败了,原来是我还有未完成的2个步骤。

Google上找了好久,都没有一个比较仔细的指南。最后,我是根据这个从GB2312编码的WordPress博客系统升级到UTF-8编码来做的才成功。

但是老是出现问题是我的comment table。我想是之前留言的人都不是纯粹的简体和英文却被直接储存成GB2313,所以当转换成unicode,往往就会被错误判断。所以最好当import回数据库的时候,能分段将comments和其他分开,不然上载完后,才说不能import。尤其这么多年来,竟然单单comments就占了50%2.44mb的总blog database容量。

当然,等我从深圳回来,下一步是要升级成wordpress 2.1了!

If any of you have anything you’d like to add, please contribute by commenting below. Thanks!

Related Posts with Thumbnails

Related Posts

  • No Related Posts
Comments are closed.
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
More in Chinese, Life, Technology (382 of 973 articles)