[MacRuby-devel] Scanning Unicode strings for non-ascii characters

Robert Schaaf rwschaaf at comcast.net
Tue Mar 3 03:37:39 PST 2009


Hello all,

This may be obvious, but in a Unicode world it's driving me nuts.   
Given an arbitrary string, which may contain unicode characters, how  
do I replace all characters not in the range 0x20..0x7e with spaces?

Thanks for any guidance,

Bob Schaaf
AIU Holdings



More information about the MacRuby-devel mailing list