Subj : console.strlen(text) vs. strip_ctrl(text).length To : Nightfox From : Digital Man Date : Mon Jan 05 2015 05:01 pm Re: console.strlen(text) vs. strip_ctrl(text).length By: Nightfox to Digital Man on Sun Jan 04 2015 07:54 pm > Re: console.strlen(text) vs. strip_ctrl(text).length > By: Digital Man to Nightfox on Sun Jan 04 2015 19:20:06 > > DM> Yes, strip_ctrl() removes all control characters (ASCII value less > DM> than 32) and all Ctrl-A code sequences. > > DM> What's the ASCII value of these "4 special characters to represent > DM> arrows"? > > Makes sense. The ASCII values (in decimal) are 16, 17, 24, and 25. Yup, those are control character. You can't really rely on them being displayed as printable characters (aka 'glyphs') in the terminal. If you try different terminal programs, you'll likely see different/inconsistent results. digital man Synchronet "Real Fact" #69: Rob Swindell was interviewed for Jason Scott's BBS Documentary in July of 2002. Norco, CA WX: 71.8øF, 18.0% humidity, 7 mph W wind, 0.00 inches rain/24hrs .