显示Unix上日文(ZT)

原贴地址http://www.umiacs.umd.edu/~aelkiss/xml/displaywin.htmlUnicodeonWindows我看的重点部分PuTTYPuTTYhasverygoodsupportforbothUnicodeandlegacyencodings.Tochangewhichencodingisbeingused,firstclickontheputtyiconintheupperleft-handsideofthewindowandclick”ChangeSettings…”Whereyougofromheredependsonwhatencodingyouwanttouse.UnicodeandSingle-ByteEncodingsPuTTYhasbuilt-insupportforawiderangeofencodingsincludingallISO-8859seriesencodings,Windowscodepages1250-1258,theRussianKOI8encodings,andafewothers.UnicodeUTF-8supportisalsobuilt-in.Touseoneoftheseencodings,clickon”Translation”andthenselectthedesiredencoding.Mostoftheencodingsshouldworkwell,althoughHebrewandArabicwillprobablyhavedirectionalityproblems.Putty0.55doeshavesomepreliminarysupportforright-to-leftscriptsbutIwasnotabletogetittoworkreliablyforHebrew.Arabicisevenmoreproblematic.Multi-ByteEncodings(includingChinese)Chinese,JapaneseandKoreansupportinPuTTYworksdifferentlythantheotherencodings.Youneedtochoosetheappropriatefontandthenchoose”usefontencoding”fromthetranslationmenu.Firstchoosethecorrectfont.Gotothe”Appearance”sectionandclickthe”Change”buttoninthe”FontSettings”area.Korean(WindowsCP949-EUC-KR+extensions)-ChooseBatangChe,DotimChe,GulimCheorGungsuhCheasthefont,thenHangulasthescriptJapanese(Shift-JIS)-ChooseMSGothicorMSMinchoasthefont,thenJapaneseasthescript.Chinese(Simplified)(GB2312)-ChooseNSimSunasthefont,thenCHINESE_GB2312asthescript.Chinese(Traditional)(Big5)-ChooseMingLiUasthefont,thenCHINESE_BIG5asthescript.