Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Displaying Japanese fonts in source code using Visual Studio

I have some source files that have comments written in Japanese. When I open these files in Visual Studio they appear like this:

à–¾FNCAP‰¹—p‚̃XƒŒƒbƒh

I am using the English version of WinXP, but is there a way to get Visual Studio to display the actual Japanese characters rather than the random jibberish it currently is?

like image 447
Ben Lever Avatar asked Oct 16 '08 22:10

Ben Lever


1 Answers

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.
like image 117
puzio Avatar answered Oct 18 '22 14:10

puzio