From: Austin Ziegler Date: 2006-01-12T00:06:31+09:00 Subject: Re: Ruby, Unicode - ever? On 11/01/06, David Vallner wrote: > Austin Ziegler wrote: > >>(current state of UTF8 in Ruby, even with regexps, is too far away > >>from proper Unicode support, don't try to cheat me, that it's OK and > >>enough, it is not!) > >> > >> > > > >For 99% of cases, in fact, is *is* sufficient. What do you think is > >missing? > How would the regexp engine match multibyte UTF8 characters that have > what is ASCII whitespace as one of the lower bytes? Or how would > /\w{2,4}/ react to a single three-byte UTF-8 character? I didn't yet > stumble upon this in the rather spartan kcode documentation, does the > UTF8 support for Japanese input cater for these perks? I donno. I suspect that if $KCODE = 'u', it will work rather surprisingly well. I don't know to be honest, though. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca