This is a ruby implementation of wcwidth() and wcswidth() (defined in  * IEEE Std 1002.1-2001) for Unicode.