zend studio 5.5中文乱码解决方法

zend studio 5.5中文乱码解决方法

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

<customized_property ID="desktop.language">
  <locale language="en" country="" variant=""/>
</customized_property>
将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、修改里面为 <encoding name=”UTF-8″/>
4、保存,并将该文件属性设置为只读,否则zend每次启动都会将 desktop_options.xml 初始化
5、重启 zend
注意,你现在打开 zend 有可能以前打开的utf-8文件还是乱码,没事,你只需要关掉该文件再重新打开即可

时间: 2024-08-29 03:29:56

zend studio 5.5中文乱码解决方法的相关文章

php excel reader2.21导出excel中文乱码解决方法说明

之前我的PHP教程博客访友询问使用php excel reader2.21导出excel时中文出现乱码如何解决,现我说明下php excel reader导出excel中文乱码的解决方法,希望对使用php excel reader导出excel的朋友有所帮助. php excel reader介绍 php excel reader是一个读取Excel xsl文件内容的一个php excel类,目前最新版本是php excel reader2.21,网上可自行搜索,sourceforge上的php

使用WebLogic的OTN插件时Eclipse控制台输出中文乱码解决方法

  使用WebLogic时控制台输出中文乱码解决方法1.找到weblogic安装目录,当前项目配置的domain2.找到startWebLogic.cmd文件3.打开文件,在"call "%DOMAIN_HOME%\bin\startWebLogic.cmd" %*"上面增加如下代码即可,主要是设置UTF-8啊. @ECHO OFF @REM WARNING: This file is created by the Configuration Wizard. @RE

python 中文乱码解决方法

比如我从网上下载一些信息或写个电子邮件程序下载到本地,以记事本(txt) 形式写入并保存在本地计算机,为什么看到只是英文和乱码的?该怎样做呢? 答 乱码原因: 因为你的文件声明为utf-8,并且也应该是用utf-8的编码保存的源文件.但是windows的本地默认编码是cp936,也就是gbk编码,所以在控制台直接打印utf-8的字符串当然是乱码了. 解决方法: 在控制台打印的地方用一个转码就ok了,打印的时候这么写: print myname.decode('utf-8').encode('gb

ajax中文乱码解决方法总结

ajax乱码解决办法一: 在服务器指定发送数据的格式: 在jsp文件中: response.setContentType("text/text;charset=UTF-8");//返回的是txt文本文件 或是 response.setContentType("text/xml;charset=UTF-8");//返回的xml文件 PHP:header("Content-Type:text/html;charset=GB2312"); ajax乱码

SMARTY 中文乱码解决方法

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-

Jfreechart中文乱码解决方法

Jfreechart中文乱码解决方法 jfreechart对中文的支持部是很好,我开始做的时候也有乱码,下面的方案是在java上运行可以的... <!--[if !supportLists]-->1.     <!--[endif]-->柱状图(CategoryPlot):    CategoryPlot plot=chart.getCategoryPlot();//获取图表区域对象    CategoryAxis domainAxis=plot.getDomainAxis();

远程linux xshell下输出中文乱码解决方法_unix linux

使用xshell登录中文版CentOS或者redhat时,在xshell下如果输出的是中文的话可能会显示乱码,通过如下办法可以有效的解决乱码问题 linux中文乱码解决方法如下: 复制代码 代码如下: [root@localhost ~]# cd /etc/sysconfig/ [root@localhost sysconfig]# cp i18n i18n.bak #备份i18n文件 [root@localhost sysconfig]# echo "" >i18n [root

wxPython窗口中文乱码解决方法_python

本文实例讲述了wxPython窗口中文乱码解决方法,分享给大家供大家参考.具体方法如下: 文件保存为 utf-8 文件开头添加 # -*- coding: utf-8 -*- 在有中文字符串前加u或U,例如:u"我的网站:http://www.jb51.net" 示例如下: 复制代码 代码如下: # -*- coding: utf-8 -*- import wx class App(wx.App):       def OnInit(self):         frame = wx.

EF之数据库连接问题与中文乱码解决方法

ef之数据库教程连接问题与中文乱码解决方法 the specified named connection is either not found in the configuration, not intended to be used with the ent 1.首先修改<add name="northwindentities"        connectionstring="metadata=res://*/northwind.csdl|res://*/nort