From: ts Date: 2001-08-27T23:23:37+09:00 Subject: [ruby-talk:20433] Re: kanji size >>>>> "S" == Slava Kravchenko writes: S> puts "{K}".size # ---> 2 S> .... where {K} is a single kanji/kana symbol. S> Running ruby with "-Ke" (I'm using EUC-JP encoding) and without it S> produces the same result. I know that *technically* it takes 2 bytes, S> but logically... ;) Well, you're probably working with 1.6.* or 1.7.* but with ruby_m17n String#length will return 1 in this case String#size will give 2 if I'm right Guy Decoux