From: Verno Miller Date: 2006-09-21T18:37:40+09:00 Subject: Re: Unicode and Character Classes -- a bug? >Jordan Callicoat wrote: > Verno Miller wrote: >> Just a pointer to some examples how to parse UTF-8 encoded strings in >> Ruby: > > Hi Verno, > > I used to have a class that used that technique to fake UTF-8 support. > I now use Nikolai Weibull's extension > (http://rubyforge.org/projects/char-encodings). > > Regards, > Jordan Thanks for this one, Jordan! I seem to have missed some stuff on redhanded as of late, esp. http://redhanded.hobix.com/inspect/nikolaiSUtf8LibIsAllReady.html For some info on Oniguruma btw I've run across this page: http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt I've played with the u option regex hack quite a while back (seemed to be working pretty well even with some Japanese chars if i remember correctly), so i just thought to throw it in as a tip. Thanks, again, for the update to Nikolai Weibull's extension! Cheers, Verno -- Posted via http://www.ruby-forum.com/.