From: Paul Battley Date: 2006-06-15T01:50:44+09:00 Subject: Re: A plan for another unicode string hack On 14/06/06, Dae San Hwang wrote: > For now, it will support only utf-8 encoding as ruby's regexp doesn't > seem to support encodings other than ascii and utf-8. (I could use > iconv to convert encoding internally to utf-8 for each method call, > but at the moment, I think it's probably too costly and not worth it.) Regexp also supports EUC (which seems to work for EUC-KR as well as EUC-JP, incidentally) and Shift_JIS. Nevertheless, I think that starting with UTF-8 is the way to go. > I would love to get some feedback on this. Matz's feedback will be > especially great since I want to make this as much forward compatible > as possible with Ruby 2.0. I think it's a great idea. If you want any implementation assistance, I'd be glad to help (I've done quite a bit of Unicode hacking in Ruby). Paul.