From: ts Date: 2001-09-29T00:14:54+09:00 Subject: [ruby-talk:21805] Re: convert utf-8 string to Unicod numner array >>>>> "H" == Henning von Rosen writes: H> this do convert utf-8 string to Unicod number array Just write it H> def conv(s) H> n=s.split(//u).size; s.unpack("U#{n}") s.unpack("U*") H> end Guy Decoux