linux下zend无法输入中文的另类解决方法

网上比较流行的解决方法是:
引用内容1. 创建文件平夹fallback
mkdir zend安装目录/ZendStudio-5.5.x/jre/lib/fonts/fallback
2. 复制字体simsun.ttc 到fallback后名字为simsun.ttf
mkdir zend安装目录/ZendStudio-5.5.x/jre/lib/fonts/fallback
2. 复制字体simsun.ttc 到fallback后名字为simsun.ttf
我这里很奇怪的是,这样做只能输入个别中文,大量的中文还是无法输入。
最后,我是通过在“首选项”--“桌面”--“字体”里选择“文泉驿正黑”(这里可以是任意中文字体)解决的。==>有关在openSUSE安装文泉驿字体,请点击这里。

如果你的ZDE还是英文、或者你找不到我提到的菜单选项,你可以直接修改
ZDE/config_5.5/desktop_options.xml文件里“desktop.font“的font name改为一个你系统里有的中文字体名称,如文泉驿正黑。另外,如果要让ZDE显示中文界面,可以将desktop.language下面的en改为cn。下面是我使用的完整的文件:
程序代码<?xml version='1.0' encoding='UTF-8'?>
<zde_properties>
<properties>
<customized_property ID="desktop.antialiasing">
<boolean value="true"/>
</customized_property>
<customized_property ID="desktop.language">
<locale language="cn" country="" variant=""/>
</customized_property>
<customized_property ID="desktop.font">
<font name="文泉驿正黑" style="0" size="12"/>
</customized_property>
<customized_property ID="editing.encoding">
<encoding name="UTF-8"/>
</customized_property>
<customized_property ID="desktop.phpVersion">
<phpVersion value="PHP5"/>
</customized_property>
<customized_property ID="desktop.includeFrameworkData">
<boolean value="true"/>
</customized_property>
<customized_property ID="editing.supportAspTags">
<boolean value="false"/>
</customized_property>
<customized_property ID="browser.commandLine">
<string value="firefox"/>
</customized_property>
<customized_property ID="editing.manualUrl">
<manual_url spec="http://www.php.net/manual/en/" local="false"/>
</customized_property>
<customized_property ID="encoder.encoderCommandLine">
<file name="/usr/local/Zend/ZendGuard-4.0.0/bin/ZendGuard"/>
</customized_property>
<customized_property ID="desktop.showHiddenFiles">
<boolean value="false"/>
</customized_property>
<customized_property ID="filesystem.filesystemModificationCheckEnabled">
<boolean value="true"/>
</customized_property>
<customized_property ID="filesystem.filesystemModificationCheckTime">
<integer value="1000"/>
</customized_property>
<customized_property ID="editing.automaticFileReload">
<boolean value="false"/>
</customized_property>
<customized_property ID="editing.searchResultDisplaySize">
<integer value="1000"/>
</customized_property>
</properties>
</zde_properties>
<zde_properties>
<properties>
<customized_property ID="desktop.antialiasing">
<boolean value="true"/>
</customized_property>
<customized_property ID="desktop.language">
<locale language="cn" country="" variant=""/>
</customized_property>
<customized_property ID="desktop.font">
<font name="文泉驿正黑" style="0" size="12"/>
</customized_property>
<customized_property ID="editing.encoding">
<encoding name="UTF-8"/>
</customized_property>
<customized_property ID="desktop.phpVersion">
<phpVersion value="PHP5"/>
</customized_property>
<customized_property ID="desktop.includeFrameworkData">
<boolean value="true"/>
</customized_property>
<customized_property ID="editing.supportAspTags">
<boolean value="false"/>
</customized_property>
<customized_property ID="browser.commandLine">
<string value="firefox"/>
</customized_property>
<customized_property ID="editing.manualUrl">
<manual_url spec="http://www.php.net/manual/en/" local="false"/>
</customized_property>
<customized_property ID="encoder.encoderCommandLine">
<file name="/usr/local/Zend/ZendGuard-4.0.0/bin/ZendGuard"/>
</customized_property>
<customized_property ID="desktop.showHiddenFiles">
<boolean value="false"/>
</customized_property>
<customized_property ID="filesystem.filesystemModificationCheckEnabled">
<boolean value="true"/>
</customized_property>
<customized_property ID="filesystem.filesystemModificationCheckTime">
<integer value="1000"/>
</customized_property>
<customized_property ID="editing.automaticFileReload">
<boolean value="false"/>
</customized_property>
<customized_property ID="editing.searchResultDisplaySize">
<integer value="1000"/>
</customized_property>
</properties>
</zde_properties>

