preference->General->workspace"; then find the other option; finally select the character set as "utf-8"."/> preference->General->workspace"; then find the other option; finally select the character set as "utf-8".">

Home>Article>Backend Development> How to solve zend studio php garbled problem

How to solve zend studio php garbled problem

藏色散人
藏色散人 Original
2020-09-11 09:26:22 2136browse

Zend studio php garbled solution: first select "window->preference->General->workspace"; then find the other option; finally select the character set as "utf-8" .

How to solve zend studio php garbled problem

# Recommended: "

PHP Video Tutorial

I tried the integrated development environment, zend studiodo, but after installing it, it could not display Chinese and it was garbled. It must be a character set or encoding problem. I found a lot of tutorials on the Internet, and every one of them explained clearly. Finally, I found the answer by myself.

Mine is version 13.6:
How to solve zend studio php garbled problem

The method should be the same for other versions.

Go directly to the process:

How to solve zend studio php garbled problem##Enter the sequence: window=>preference=>General=>workspace

Continue:

How to solve zend studio php garbled problemClick on the workspace to see if there is another one below, where the actual character set encoding is set. Because our system is Windows and the character set is Chinese, so the default here is also Chinese. But the character set we write the code for is utf-8, so we only need to change the GBK here to UTF-8 in the drop-down box! This will be consistent with the encoding set of our code, click OK. Let’s take a look at the Chinese on the program. Is it displayed normally?

How to solve zend studio php garbled problem

The above is the detailed content of How to solve zend studio 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
Previous article:How to remove php probe Next article:How to remove php probe