C wcwidth equivalent in Ruby 1.9

Discussion in 'Ruby' started by Heesob Park, Mar 2, 2009.

  1. Heesob Park

    Heesob Park Guest

    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
     
    Heesob Park, Mar 2, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gary Nutbeam
    Replies:
    12
    Views:
    770
    Gary Nutbeam
    Mar 7, 2005
  2. Ray
    Replies:
    3
    Views:
    543
    Paul Boddie
    Dec 2, 2005
  3. Antoine De Groote

    ruby %w equivalent

    Antoine De Groote, Sep 24, 2006, in forum: Python
    Replies:
    24
    Views:
    781
    James Stroud
    Sep 30, 2006
  4. Kenneth McDonald
    Replies:
    6
    Views:
    1,782
    Mark Thomas
    Dec 30, 2008
  5. anne001
    Replies:
    1
    Views:
    525
Loading...

Share This Page