From: sheepman Date: 2008-01-14T17:24:23+09:00 Subject: [ruby-dev:33087] Re: Encoding.compatible? and dummy encodings こんばんは、sheepman です。 On Sun, 13 Jan 2008 22:08:18 +0900 "NARUSE, Yui" wrote: > dummy encoding だからではなく、"\e$B4A;z\e(B" が 7bit ASCII の範囲に収 > まっているからですね (rb_enc_str_asciionly_p)。ISO-2022-JP は常に 7bit > なので EUC-JP だけでなく、Shift_JIS とも UTF-8 とも compatible になります。 なるほど、了解しました。 ありがとうございます。 -- sheepman / TAMURA Takashi sheepman@sheepman.sakura.ne.jp