Share via


How to change text encoding on an output window for Visual Studio 2017

Question

Monday, June 26, 2017 1:41 AM

I'm programming a cordova project with Visual Studio 2017(15.2) on Windows 10 64bit. However, the message displayed in the "Output" window of Visual Studio gets garbled, so its contents are difficult to understand.

 

From the features of the symbols in the screenshot, Cordova development tool outputs messages as UTF-8, but Visual Studio seems to output as Shift-JIS(Default multibyte charactor encoding on Windows 10 Japanese).

Please tell me how to unify those text encoding.

All replies (7)

Tuesday, June 27, 2017 8:13 AM

Hi Tank2005,

Welcome to MSDN forum.

Please attempt to reset Visual Studio to System Defaults (Please click Tools->Import and Export Settings->Reset All Settings).

Note: Before making changes to visual studio, you could export the current setting. Please click Tools->Import and Export Settings->Export selected environment settings. You could find it in c:\users\administrator\documents\visual studio 2017\Settings.

After this, please create a new default cordova project and check if the issue persists.

Best regards,

Joyce

Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Tuesday, June 27, 2017 9:01 AM

Thank you for your reply.

I tryed initializing the VS2017 setting, but the issue didn't solve.

Incidentally, builing codes has erros with Android Studio from "platform/android" directory, those error outputs as Japanese.


Wednesday, June 28, 2017 9:19 AM

Hi,

Please create a new default cordova project and make it fail to compile, then create another type of project and make it fail to compile. I need more information to confirm the compatibility of Cordova development tool in Japanese environment.

Best regards,

Joyce

Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Wednesday, June 28, 2017 9:43 AM

I uploaded minimal sample at OneDrive. This program, I wrote a wrong code at "WhitelistPlugin.java" intentionally. When debug this code with "Google Emulator - Phone", garbled text outputs on the window.


Wednesday, June 28, 2017 10:33 AM

Hi,

I test it on my side, and everything is ok, you could check the screenshots below:

Note: My OS is English edition and I will test it on Japanese Operation system later.

Please try to download English language pack in visual studio installer and change your visual studio to English edition, then check the result.

Best regards,

Joyce

Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Thursday, June 29, 2017 1:42 AM

Sorry for bothering you. I will ask at the cordova forum and try to solve the issue from Cordova side.


Tuesday, July 4, 2017 9:59 AM

@Tank2005,

How did you set the language in your VS under TOOLS->Options, Same as Microsoft Windows or others?

If the same Windows with the VS works well in Joyce's Environment, one possible reason is that it was not related to the VS language version or VS IDE, we would think about the Windows Environment/Windows language package.

https://msdn.microsoft.com/en-us/library/ms246590.aspx?f=255&MSPPError=-2147217396

Thanks,

Jack

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].