hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Monday

2006.07.24

Nikolai's UTF-8 Lib is All Ready #

by why in inspect
 require 'encoding/character/utf-8'
 str = u"hëllö" 
 str.length
   #=> 5
 str.reverse.length
   #=> 5
 str[/ël/]
   #=> "ël" 

Continue to full post. (147 words)