A small package with bindings to a function in <wchar.h> that assigns a column width to Unicode characters.
http://hackage.haskell.org/package/wcwidth-0.0.1 This is the function that tells your terminal to make Chinese characters two columns wide while making the letter 'a' but one column wide. In addition, a little utility is provided that constructs a table of widths by character and a listing of character ranges with the same width. On different systems, `wcwidth` may assign different widths to the same character for some obscure characters. -- Jason Dusek _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe