From: "Wolfgang Nádasi-Donner" Date: 2007-11-18T22:58:07+09:00 Subject: Re: Problems with \M-x in utf-8 encoded strings Kornelius Kalnbach schrieb: > And each_char shouldn't throw an index error...no? This always happens in Ruby 1.9 if the encoding expects more bytes, which are not present in the String, not only in utf-8 encoded strings. I think a new Exception class should be used, e.g. EncodingError or something like this. To say nothing is not a good idea ;-) Wolfgang N��dasi-Donner