July 2007
Intermediate to advanced
128 pages
2h 39m
English
Ruby has some UTF-8 support, but you have to enable it by including the line $KCODE = "UTF8" before using the constructs. When enabled, the metasequences \w, \d, \s, and \b support Unicode characters outside of the ASCII range. You can also enable multibyte regex processing by passing a language parameter to Regexp.new, and turn off multibyte processing with the /n modifier.