Home > Backend Development > PHP Tutorial > phpstorm编辑器乱码问题解决_php技巧

phpstorm编辑器乱码问题解决_php技巧

WBOY
Release: 2016-05-16 20:29:29
Original
2389 people have browsed it

PhpStorm是一个轻量级且便捷的PHP IDE,其旨在提供用户效率,可深刻理解用户的编码,提供智能代码补全,快速导航以及即时错误检查。

由于PHPStorm编辑器默认是UTF-8编码

如果开发的是gbk编码的中文站,加载GBK编码会出现乱码

解决方法:

复制代码 代码如下:

FILE->Setting->File Encoding->将UTF-8改成GBK

几个字符的改动就解决了这个问题,是不是很简单呢

Related labels:
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