PHP development tool ZendStudio_6.1 garbled solution

Source: Internet
Author: User
PHP development tool ZendStudio_6.1 what is the ultimate solution to garbled code? PHP development tool ZendStudio_6.1 the ultimate solution to garbled code [written in front] if you find that you often need to set file encoding for a project, please confirm that the project belongs to the PHP development tool ZendStudio_6.1. the ultimate solution to garbled code

?

PHP development tool ZendStudio_6.1 the ultimate solution to garbled code

[Preface] if you find that you often need to set the file encoding for a project, check the attribute settings of the project.

Click properties, and the default is inherited from container (GBK), now set to the following UTF-8, so that the file created in this project will be utf8 encoded.

?

First of all, I want to explain that I am a beginner who just learned PHP! When I first came into contact with PHP, I was worried about finding development tools for a while !! So I came to PHPCHINA for help and found my favorite PHP development tool named Zend Studio for Eclipse-6.1.0!
Secondly, many netizens say that Zend Studio_6.1 does not support encoding well! I want to refute him. The 6.1 encoding support is much better than the 5.5 support !! At least the UTF8 encoded items can be correctly displayed!
Okay, so many preface !!

==================================
The next step is to witness the miracle moment ----- the beginning of teaching
==================================
1. use zend_6.1 to open a UTF-8 encoded php file !!


Php Tutorial 3.JPG

My God, garbled ....
2. don't worry! Go to Edit --- SetEncoding. the following dialog box is displayed:


Php teaching 4.JPG

Have you seen it? The default value is GBK. open the UTF8 project and garbled characters.
3. after the code is changed, the text is normal! For example:


Php Tutorial 1.JPG



==============================
Okay. it's not good enough !!! Some may ask why the Debuger Output window in the software and the Browser Output window are garbled ??
This is what I want to talk about today!
Open windows ---- Preferences ,:


Php Tutorial 5.JPG

.
Next, a window will pop up. we only need to modify it based on the graph !!
:


Php Tutorial 6.JPG


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.