Re: 在終端窗口中,為何Á`是亂碼?
On Thu, 24 Oct 2002 09:02:16 +0800 (CST)
"冷罡華" <kanaka@yeah.net> wrote:
> 我用的終端都是這樣,都不能正常顯示gb2312的漢字。
> konsole,rxvt,mlterm,gnome-terminal,都不能正常顯示。
>
> 我在啟動gnome-terminal的時候,他提示:
>
> Gdk-WARNING **: Missing charsets in FontSet creation
>
> Gdk-WARNING **: GB2312.1980-0
>
> Gdk-WARNING **: Missing charsets in FontSet creation
>
> Gdk-WARNING **: GB2312.1980-0
>
> 然後才給我打開terminal窗口。
>
可能你自己需要設置gnome-terminal的字體,我不知道woody中gnome-terminal的版本,可能是1.4的吧?
在字體設置裡面加上中文的字體應該就可以了的。
我現在用的是rxvt-ml,下面貼出我的/usr/bin/crxvt
-------------------------------cut----------------------------------
#!/bin/sh
#
# This is a wrapper script that tests the locale and executes the
# appropriate version of rxvt.
if [ "$LC_ALL" = "zh_TW.Big5" ]; then ext=big5
elif [ "$LC_ALL" = "zh_CN.GB2312" ]; then ext=gb
elif [ "$LC_CTYPE" = "zh_TW.Big5" ]; then ext=big5
elif [ "$LC_CTYPE" = "zh_CN.GB2312" ]; then ext=gb
elif [ "$LANG" = "zh_TW.Big5" ]; then ext=big5
elif [ "$LANG" = "zh_CN.GB2312" ]; then ext=gb
else ext=gb
fi
exec /usr/bin/crxvt-"$ext" -bg black -fg gray -sr \
-fn "-b&h-lucidatypewriter-medium-r-normal-*-*-140-*-*-m-*-iso8859-1"\
-fm "-misc-fixed-medium-r-normal--*-*-*-*-*-*-gb2312.1980-0" -sl 1000 $@
-------------------------------cut end------------------------------
其中fm的字體你自己指定喜歡的中文字體,然後把xterm指向/usr/bin/crxvt就可以了。
> 是不是我的字體設的有問題?我用的是woody自己的fongsong ti,在cpanel裡面也是設置的這個.
>
>
>
--
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.
Reply to: