在红帽服务器上显示unicode字符

当我从Windows 7机器连接到我的服务器时,屏幕上显示的是垃圾字符,而不是UTF-8编码的Unicode字符。 我使用安全CRT和腻子。 英文文本没有问题。

我想知道是否可以显示和sorting这些单词(印度语)我的服务器是红帽企业Linux服务器版本5.4(Tikanga)

告诉你的客户使用UTF-8 。

要在腻子中查看unicode字符,请进入:

Change settings -> Window -> Translation -> choose UTF8 as Remote character set. 

那么你应该可以看到中国的表意文字,世界语超印,印地文,阿拉伯,希伯来语,科里安,希腊… 🙂

如果你不能,那么问题可能出在你的服务器上。

您可以通过从存储区的命令行安装缺少的字体。 RedHat中的日语示例(对于其他发行版,应该有类似的方法):

 yum groupinstall Japanese Support 

或者通过GUI,如果你有权访问它。

如果您无法访问任何存储库或安装盘,则可以在此处执行手动安装:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/International_Language_Support_Guide/add_fonts_all_users.html

或者为你的Linux发行版使用类似的指南。

例如,如果你有rpm文件(注意:名字的最后一部分是版本,可以改变这并不重要):

 # general for Unicode: rpm -Uvh libXext-1.3.3-3.el7.x86_64.rpm rpm -Uvh xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm rpm -Uvh libXrender-0.9.8-2.1.el7.x86_64.rpm rpm -Uvh xorg-x11-fonts-75dpi-7.5-9.el7.noarch.rpm #Most of "small" alphabets (cirillic, greek, latin, hebrew...) are in dejavu rpm -Uvh dejavu-fonts-common-2.33-6.el7.noarch.rpm rpm -Uvh dejavu-lgc-sans-mono-fonts-2.30-2.el6.noarch.rpm rpm -Uvh dejavu-sans-fonts-2.30-2.el6.noarch.rpm rpm -Uvh dejavu-sans-mono-fonts-2.30-2.el6.noarch.rpm rpm -Uvh dejavu-serif-fonts-2.30-2.el6.noarch.rpm #chinese, japanese, (also korean, but this one won't work, see following) rpm -Uvh cjkuni-uming-fonts-0.2.20080216.1-53.el7.noarch.rpm rpm -Uvh cjkuni-ukai-fonts-0.2.20080216.1-51.el7.noarch.rpm #To work, korean needs the followings: rpm -Uvh libFS-1.0.0-3.1.x86_64.rpm rpm -Uvh chkfontpath-1.10.1-1.1.x86_64.rpm rpm -Uvh xorg-x11-xfs-1.0.2-5.el5_6.1.x86_64.rpm rpm -Uvh fonts-korean-1.0.11-10.el5.noarch.rpm #Hindi needs the following... rpm -Uvh fonts-hindi-2.3.1.1-2.el5.noarch.rpm #when you installed new font packages you MUST run (else they won't work unytill computer restart): sudo fc-cache -f -v 

请记住,当您安装任何系统时,要尽可能多地安装语言:它只需要一些空间,并且可以避免许多问题。 我们生活在一个基本的拉丁语alfabet不够的世界。