UTF-8 or BIG5 ? That is a question.

Well, I hate being bothered by these encoding issues!
I develop a ror website with my TextMate. And the problem is always client’s favorite encoding characters: Big-5. Yes, I love Chinese characters. However, TextMate encode rhtml file with UTF-8. Though I could type well Chinese words on the file.
After browser’s gestures, those letters are broken all the time! So, I must code with Textmate AND write rhtml with Dreamweaver. It make me confused sometimes. @@

Not only database collation is big-5 but also the file database.yml has to add line:

encoding:Big5

Leave a Reply