toto icon indicating copy to clipboard operation
toto copied to clipboard

UTF-8 issue

Open JayYang opened this issue 15 years ago • 3 comments

Hi all, I encounter an issue about encoding. I covert all .rhtml page & .txt page as UTF-8 format and set charset as UTF-8. Everything works well except the page title. it can not display correct if contains chinese.

is there anyone can help me out?

Thanks in advance! -Jay

JayYang avatar Jul 14 '10 09:07 JayYang

Well, I do not have the answer, but he may has:

http://sxlee.heroku.com/

BTW, maybe you may help me out with my question? It's question 48. Thanks in advance!

lyslim avatar Jul 22 '10 16:07 lyslim

This may help you: http://joeydarko.heroku.com/2010/08/24/ban-jia-di-yi-pian-shi-toto-zhi-chi-zhong-wen-de-ji-qiao-fen-xiang/

rahzep avatar Sep 07 '10 07:09 rahzep

@JayYang, I believe that your problem is related to issue #29 (partially). I'm going to implement a fix for that issue by preparing a map of chars conversion (for russian characters, latinic, greek etc.), but I can say for sure that I won't be able to prepare something similar for glyphs - so any help from your side would be very appreciated. For now you can workaround by providing slug meta info, e.g.:

$ cat > articles/2011-08-13-primer-russkih-zagolovkov-v-totoshke.txt
---
titile: Пример русских заголовков в Тотошке
slug: primer-russkih-zagolovkov-v-totoshke

Тотошка крута, но есть ещё над чем поработать.
И это - офигительно!!!

@cloudhead, I believe this issue can be closed in favor of #29, where we can discuss similar problems

ixti avatar Aug 13 '11 14:08 ixti