Text in resource file is not displaying correctly in Chinese

1.7k views Asked by At

I have a website that is written in asp.net where the text is resourced in resource files. I am able to successfully view the correct characters for all (Spanish, German, Arabic, Korean, etc) languages except Chinese. When I change my browser to Chinese (any version) I get weird characters displayed. I have Chinese fonts installed and have tried changing encoding but nothing seems to work. This is happening in both IE9 and FF9.

Ex:

English - Progress

Chinese (in resource file) - 進度

Display in browser - 进程

Any help would be appreciated,

Matt

1

There are 1 answers

0
Michael Liu On BEST ANSWER

If you see weird characters in the .resx file when you edit it in Visual Studio, that means the file itself is corrupt. Fix the errors and the text should show up properly in the browser.