2011å¹´06æ10æ¥20:30 ã«ãã´ãª perl - åæã«æ·»å - utf8ç°å¢ã§perl::Jcodeã®trã使ããªãã¨ã CPANã¢ã¸ã¥ã¼ã«ã¬ã¤ã å¨ç°å°æ¨¹ åä¸ç´ã¾ã§ã¯ããã§æ£ããã£ãã®ã§ãã⦠utf8ç°å¢ã§perl::Jcodeã®trã使ããªãã¨ã - satoru.netã®èªç±å¸³ è¦ã¯trã®ä¸ã®æåã®ã¨ã³ã³ã¼ããeucã«ããªãã¨ã ããããããªã¼ãã åç´ 21ä¸ç´ã§ã¯Encodeã使ã£ã¦ããã ãããã Perl 5.8.1以éã§ããã°ãæ¨æºã®Perlã ãã§åºæ¥ã¾ãã ãããªæãã«ã use strict; use warnings; use utf8; binmode STDOUT, ':utf8'; my $str = 'ãããããããã ãã'; print $str, "\n"; $str =~ tr/ã-ãã´/ã¡-ã³ã´/; print $str, "\n"; ãã¤ã³ã
{{#tags}}- {{label}}
{{/tags}}