Displaying Japanese fonts in source code using Visual Studio

前端 未结 7 2277
栀梦
栀梦 2021-01-02 05:04

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
         


        
7条回答
  •  执笔经年
    2021-01-02 05:48

    i have just gotten this problem and fixed it by changing config "files.encoding" in file "setting.json" . Go to Menu => File => Reference => setting to open the file. Search for "files.encoding" and change value to Encoding of your file (my file encoded in Shift-JIS , i checked ending by using Notpad++)

提交回复
热议问题