Open windows settings and enter [Time and Language Options]
After entering the "Time and Language" option, select the one on the left "Region and Language" option
Next click the "Manage Language Settings" button
Click "Change System Region" Settings" button
In the "Regional Settings" interface, change the language in "Current System Regional Settings" to "Chinese (Simplified, China)"
Finally restart the system
Recommended tutorial: windows tutorial
The above is the detailed content of What should I do if garbled characters appear after opening the txt file?. For more information, please follow other related articles on the PHP Chinese website!