Home>Article>Backend Development> How to solve cmd php garbled problem

How to solve cmd php garbled problem

藏色散人
藏色散人 Original
2020-07-29 10:13:05 2543browse

The solution to cmd php garbled code: first run cmd; then enter CHCP and press Enter to view the current encoding; then enter CHCP 65001 and press Enter; finally set the font to "Lucida Console".

How to solve cmd php garbled problem

Recommended: "PHP Tutorial"

1. Run cmd;

2. Enter CHCP and press Enter to view the current encoding;

3. Enter CHCP 65001 and press Enter;

4. Right-click on the cmd window and select Properties to set the font to Lucida Console, click OK

The above is the detailed content of How to solve cmd php garbled problem. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn