From: Tanaka Akira Date: 2008-09-17T01:42:03+09:00 Subject: [ruby-core:18633] Re: Ruby 1.9 strings & character encoding In article <6.0.0.20.2.20080916184943.08a281f0@localhost>, Martin Duerst writes: >>> So ruby should treat it as a character. > > I don't think #each_character should do that, although > its name may suggest so. What may happen (maybe for Ruby 2.0) > is that we have a parameter to #each_character which, if present, > leads to lumping the above two characters together. Unless doing that, single character in JIS X 0213 is mapped to two characters in Unicode. It is not desired result. -- Tanaka Akira