2010年10月28日 星期四

在 linux 下的 UTF-8 termial 使用 telnet 連上中文 bbs 與 mud

目前是使用 PCMan X 上 bbs,在巴哈洽特上看到有人推廣 doommud,連過去卻無法輸入任何字元,在 termial 裡使用 telnet 連上去則是中文全變亂碼,google 了一下才發現解法,只要使用 luit 就行了


luit -encoding big5 telnet doommud.twbbs.org 4000


在 Xfce Terminal Emulator 和 rxvt-unicode 測試過,拿來上 bbs 也行,只是不在 big5 範圍內的文字會無法顯示,一些 ascii art 也會跑掉,單純看文章應該是夠用的,但是只能在 X window 下的 terminal emulator 使用,一般的 terminal 大概要使用 zhcon 才能正常顯示? (沒試過)

參考:
[Tips]解決utf8環境下,telnet bbs亂碼
Luit -- locale and ISO 2022 support for Unicode terminals