Home > php教程 > PHP源码 > body text

zend studio 5.5中文乱码解决方法

WBOY
Release: 2016-06-08 17:25:11
Original
1106 people have browsed it

zend studio 5.5中文乱码解决方法


购买zend产品的用户太少了还是我安装的问题,装好后桌面选项中竟然没有“简体中文”的语言选项了,到配置文件夹里看了一会,在系统盘中搜索XML文件desktop_options.xml(例如:C:Documents and SettingsAdministratorZDEconfig_5.5 目录下的 desktop_options.xml)


 

将en改为zh,重启zend后就可以了。(不过不能进首选项去设置,不然你又要重复一次上面的操作了。因为首选项里只有英文给你选)
中文乱码的解决方法
从系统盘下windows/fonts中把所有的字体复制到
zend studio 5.5 安装目录下的,如D:Program FilesZendZendStudio-5.5.0jrelibfonts
的目录下,重启ZEND就可以了!

 

Zend Studio 中文字体显示彻底解决 & JAVA 环境下的中文乱码解决
这种解决方法应该不仅仅用于解决Zend studio的问题,也能够解决几乎所有给予java的编辑器字体问题,具体原理我就不细说了,大家应该很容易明白。
具体步骤:

    1、 找到jre_path/lib/目录,注意zend studio的jre目录一般在”c:program fileszendzendstudio-5.X.0jrelib”,而系统的jre目录一般在”c:program filesjavajre1.Xlib”。
2、除fontconfig.properties.src文件保留外,删除所有以fontconfig.开头的文件
3、复制fontconfig.properties.src文件为fontconfig.properties
4、在文件的末尾添加上,下面四行

         dialoginput.plain.alphabetic=Consolas
       dialoginput.bold.alphabetic=Consolas Bold
       dialoginput.italic.alphabetic=Consolas Italic
       dialoginput.bolditalic.alphabetic=Consolas Bold Italic
    5、在编辑器(zend studio)中指定字体位”dialoginput”,重启编辑器
6、注意:第4步的中“Consolas、Consolas Bold..“部分即为你选择的字体名称。以后如果希望更改字体,就要在这里改,然后重启编辑器即可生效。


win7下zend studio5.5中文乱码解决方法
1、打开 C:Documents and SettingsAdministratorZDEconfig_5.5desktop_options.xml(这个地址要根据自己的电脑而定。)
2、查找 editing.encoding
3、修改里面为
4、保存,并将该文件属性设置为只读,否则zend每次启动都会将 desktop_options.xml 初始化
5、重启 zend
注意,你现在打开 zend 有可能以前打开的utf-8文件还是乱码,没事,你只需要关掉该文件再重新打开即可

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!