end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

use utf8; use encoding 〜;

今まで、他人のperl スクリプトを読んでいて、

  • use utf8
  • use encoding "utf8";

「って、何だろなぁ」と思っていたら、↓こんなエントリがありました。

http://www.rwds.net/kuroita/program/Perl_unicode.html#use_utf8

要は、pragmaの為のものだったのですが...
まず、perldoc utf8 や、perldoc endcoding を見なさいということですね。

そうそう、このエントリを書くきっかけは、
perl - Encode 入門
です。