Nit Khair wrote:
> Here's a quick hack I used recently. It was messing my display on 
> ncurses, and I did not need the characters.
> 
> dataitem.gsub!(/[^[:space:][:print:]]/,'')
> 
> I got this while googling, iirc, its used somewhere in ROR.

It works on scenario where iconv doesn't work. Good job!!!

Li

-- 
Posted via http://www.ruby-forum.com/.