Displaying Japanese fonts in source code using Visual Studio

Presumably VS is interpreting the file with the wrong encoding.

Reopen it using "File -> Open -> File... -> Open -> Open With... -> Source Code (Text) Editor With Encoding" and try various encodings.


Have you turned on support for Eastern languages for Windows? I have that turned on and I can see Chinese characters in Visual Studio 2005 on WinXP.

To turn it on you'll probably need the installation DVD for Windows. The setting is under Regional and Language Options in the Control Panel. I think you just need to check the "Install files for East Asian languages" option.

Microsoft's support page for internationalization has some screenshots and instructions.


I found a general solution to the problem. This worked for me in Chinese text for Visual Studio 2013 and Windows 8.1.

per https://msdn.microsoft.com/en-us/library/ms246590.aspx

  1. As Administrator Click Start, click Control Panel, and then open Regional and Language Options (or Region in Windows 8).
  2. Click the Advanced tab. (or Administrative in Windows 8)
  3. In the Select a language to match the language version of the non-Unicode programs you want to use list, select the language you are currently using.
  4. Click OK.