Rubyã§UTF-8æååã®å ¨è§è±æ°åã®è¡¨è¨æºããçµ±ä¸ãããã¨ãã æ°ãã¤ããªãã¨å¸ã«æååãããäºè±¡ãè¦ã¤ããã®ã§ã¡ã¢ãã¾ãã NKFãç¨ãã¦å ¨è§è±æ°åâåè§è±æ°åã«å¤æããæ¹æ³ ã°ã°ãã¨ããåºã¦ããæ¹æ³ã¯æ¬¡ã®éãã§ãã ãã¡ãããåé¡ãªãæ®éã«åãã¾ãã $ pry [1] pry(main)> require 'nkf' => true [2] pry(main)> NKF.nkf('-m0Z1 -w', "ï¼²ï½ï½ï½âï¼ï¼ï¼") => "Ruby-2.2" ããã§Windowsã®æ©ç¨®ä¾åæåãæ··ããã¨ã©ããªãã§ããããã pry(main)> NKF.nkf('-m0Z1 -w', "ã«ãã¼ â ¡") => "ã«ãã¼ â ¡" pry(main)> NKF.nkf('-m0Z1 -w', "ã«â ¡") => "ç¹ã©ç«ã" pry(main)> NKF.nkf('-m0Z1 -w', "Rub
{{#tags}}- {{label}}
{{/tags}}