Forum: Ruby C wcwidth equivalent in Ruby 1.9

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
666b4e17b4bb0e2d999037a25f65a7cb?d=identicon&s=25 Heesob Park (phasis)
on 2009-03-02 09:54
(Received via mailing list)
Hi,

I want to know if there is an equivalent to the C function wcwidth in
ruby 1.9.
wcwidth is a function determine columns needed for a wide character.

If not exists, how can I implement the wcwidth method?

Any help appreciated,

Park Heesob
This topic is locked and can not be replied to.