Win7 system execution bat batch file shows garbled how to solve?

  

When using the win7 system, we often use the bat batch file to execute some more commands, but when the win7 system user executes the bat batch file, the Chinese language becomes garbled. It is how it happened? How to solve it? The following small series will share with you the Win7 system implementation bat batch file display garbled solution. Let's go and have a look!

In fact, the reason is very simple, because the text in the bat uses UTF-8 to cause.

Solution:

1. Right click on Batch Batch, select Edit, then open, and save as coder. If the batch is edited in another way (such as UTF-8), it can be converted to ANSI format;

2, the following is the file after saving;

3 After opening the run, the garbled problem is solved.

The above is the solution for the Win7 system to execute the bat batch file to display garbled characters. The users who have encountered the same situation can solve the problem according to the above method. Hope can help everyone!

Copyright © Windows knowledge All Rights Reserved