UTF-8 ã®å
¨è§ãã¤ãã³ã Perl ã®æ£è¦è¡¨ç¾ã«ãããããªãã¦æ©ãã 2008-05-01-3 [Programming] UTF-8 ã®å
¨è§ãã¤ãã³ï¼ä¾¿å®ä¸ããå¼ã³ã¾ãï¼ã Perl ã®æ£è¦è¡¨ç¾ã§ãããããããã¨ãã¦ã¯ã¾ãã¾ããã å
¨è§ãã¤ãã³ã£ã¦ã®ã¯ãâãã§ãã ãããã¨ãããã¨ã¯ãããã¹ããã¡ã¤ã«ï¼UTF-8ï¼ãèªã¿è¾¼ãã§ã ãã®ä¸ã®å
¨è§ãã¤ãã³ãåè§ãã¤ãã³ã«å¤æããã¨ããä½æ¥ã Perl ã¹ã¯ãªããã¯ãããªæãã use utf8; use open ':utf8'; binmode STDIN, ":utf8"; binmode STDOUT, ":utf8"; while (<>) { s/\p{Hyphen}/-/g; # ã¾ã㯠s/â/-/g; print; } å
¥åãï¼ï¼âï¼ï¼ï¼âï¼ãã«å¯¾ãã¦ã åºåãï¼ï¼-ï¼ï¼ï¼-ï¼ããæ³å®ã ãããä¸é¨ã®å
¨è§ãã¤ãã³ã ããåè§
{{#tags}}- {{label}}
{{/tags}}