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 >Backend Development >PHP Problem >How to solve zend studio php garbled problem
# Recommended: "Zend studio php garbled solution: first select "window->preference->General->workspace"; then find the other option; finally select the character set as "utf-8" .
Mine is version 13.6:
##Enter the sequence: window=>preference=>General=>workspace
Click 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?
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!