How to display East Asian character in Visual Studio 2008 / 2005

2010-05-26


Sometimes I downloaded some C# code from internet but there are East Asian characters involved such as Japanese or Chinese comments. When I tried to open the code, Normally the Visual Studio 2008 / 2005 IDE did not show correct characters.

I searched out several solutions for this but only the following solution worked for me:

In my Visual Studio 2008: using "File -> Open -> File... -> Select a file to Open -> (Click the black triangle on the Open button) Open With... -> CSharp Editor whith Encoding or Source Code (Text) Editor With Encoding" -> try various encodings. such as Chinese Simplified (GB2312) - Codepage 936..

Then I saw correct Chinese characters .