{"id":605,"date":"2010-02-09T16:33:09","date_gmt":"2010-02-09T08:33:09","guid":{"rendered":"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/?p=605"},"modified":"2010-02-09T17:20:23","modified_gmt":"2010-02-09T09:20:23","slug":"showing-chinese-in-mew-under-emacs-nw","status":"publish","type":"post","link":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/?p=605","title":{"rendered":"Showing Chinese in mew under &#8220;emacs -nw&#8221;"},"content":{"rendered":"<p>In order to let mew under &#8220;emacs -nw&#8221; (no X environment) to display Email with simplified Chinese and traditional Chinese , both secure shell client and emacs need setting the right fonts . However , while putty is able to show both Traditional Chinese and Simplied Chinese correctly , SSH Secure Shell can only show Traditional Chinese  :<\/p>\n<p><u>putty with Simplified Chinese :<\/u><br \/>\n1.Set the following for your terminal :<br \/>\nWindows -> Appearance -> Font Setting -> Change<br \/>\nfont type as &#8220;NSimSun&#8221; , and Set the Script as &#8220;Chinese_GB2312&#8221; .<\/p>\n<p><img src='http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2010\/02\/sp32-20100209-162736.jpg' alt='sp32-20100209-162736.jpg'  class=photo \/><\/p>\n<p>Windows -> Translation -> select  &#8220;Use Font encoding&#8221;<br \/>\n<img src='http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2010\/02\/sp32-20100209-162743.jpg' alt='sp32-20100209-162743.jpg'  class=photo \/><\/p>\n<p>2.start emcas as &#8220;emacs -nw&#8221; and then start  &#8220;mew&#8221;  with command &#8220;M-x mew&#8221; , Then select font by  :<\/p>\n<blockquote>\n<p>c-x ret t gb<\/p>\n<\/blockquote>\n<p><u>putty with Traditional Chinese :<\/u><br \/>\n1.simply set the following for your terminal :<br \/>\nWindows -> Appearance -> Font Setting -> Change<br \/>\nfont type as &#8220;\u7d30\u660e\u9ad4&#8221; , and Set the Script as &#8220;Chinese_BIG5&#8221; .<br \/>\n<img src='http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2010\/02\/sp32-20100209-163144.jpg' alt='sp32-20100209-163144.jpg'  class=photo \/><br \/>\nWindows -> Translation -> select  &#8220;Use Font encoding&#8221;<\/p>\n<p>2.start emcas as &#8220;emacs -nw&#8221; and start  &#8220;mew&#8221; with command &#8220;M-x mew&#8221; , then select font by  :<\/p>\n<blockquote>\n<p>\nc-x ret t big5<\/p>\n<\/blockquote>\n<p><u>SSH Secure Shell with Traditional Chinese:<\/u><br \/>\n1. start emcas as &#8220;emacs -nw&#8221; and then &#8220;mew&#8221; select font by  :<\/p>\n<blockquote>\n<p>\nc-x ret t  big5<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>In order to let mew under &#8220;emacs -nw&#8221; (no X environment) to display Email with simplified Chinese and traditional Chinese , both secure shell client and emacs need setting the right fonts . However&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":606,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-605","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=605"}],"version-history":[{"count":0,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/605\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/606"}],"wp:attachment":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}