Home > Backend Development > PHP Problem > How to solve cmd php garbled problem

How to solve cmd php garbled problem

藏色散人
Release: 2023-03-03 13:10:01
Original
2644 people have browsed it

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template