i'm working on a Yii-based project which requires to display chinese. this isn't a problem because the framework already caters for multilanguages.
the problem is editing the translation file.
fyi i develope projects on linux servers and use putty to connect to the server.
putty... that's where the problem lies. it can't display chinese characters. characters become dots after copy-and-paste. characters becomes garbled after editing the files. etc etc etc.
if files are edited via notepad on windows and ftp-ed to server, there are always some garbage characters in the beginning of the file.
after some research i found this on how to configure putty to do what i want.
first, select a font that can display chinese. from config > window > appearance > font settings > change.
next, change the character encoding. from config > window > translation > character set, select utf-8.
now putty should be able to display chinese characters. and you should be able to edit files with chinese characters.
i believe the same setting can be applied to any other languages as well.
Leave a comment