|
Recent Entries
Fear and Loathing in Tokyo Subway / Хэллоуин в токийской подземке
В Мышкин через Углич и Калязин. Зимой. japon.ru ... mon ami Poker - penis - pharmacy Homo Gastronomikus Dahab - Sinai - Red Sea Poland, Taiwan and more 62 images of Tokyo Sound soup buy cialis online Monthly Archive
October 2005 (1)
June 2005 (3) May 2005 (1) March 2005 (5) February 2005 (3) January 2005 (5) December 2004 (2) November 2004 (2) October 2004 (1) September 2004 (2) March 2004 (1) February 2004 (3) December 2003 (1) November 2003 (3) October 2003 (2) July 2003 (1) June 2003 (1) May 2003 (7) April 2003 (14) Archive by Category
Family & Friends (3)
Four Seasons (1) Humor (2) Life in Japan (16) Life in Moscow (9) Local connections (1) Photo of Day (6) Photography (13) Sport & Extreme (5) This Site (7) Travel Japan (2) Travel Russia (6) Travel World (5) Web Publishing (4) |
April 02, 2003
Setting proper encoding with MT
I am using MovableType for my WebLog. First I tried to post Japanese or Russian text I found that all characters converted into HTML-Unicode which is bunch of and digit codes, e.g. if I enter my name in Japanese アナトル or in Russian Анатолий it's was converted into something like 26085; on the entry screen. At the same time the page was displayed correctly on the public site itself. I asked on MovableType forums, but wasn't getting much insight. After looking at the MT code a bit and figuring how it deals with text conversion and html headers I found two settings that were looking promising. NoHTMLEntities 1 Uncommenting the NoHTMLEntities didn't help. However by uncommenting the second one and setting charset into utf-8 I've resolved my problem completely. It allows me view and edit English, Japanese and Russian texts like bliss. However if you find something funny with encodings please let me know.
Posted by anatol at 08:28 PM
Comments
Post a comment
Your e-mail will not be displayed on this site. Your name and link to your site will be displayed.
|