0x7f isn't printable!

git-svn-id: file:///home/svn/framework3/trunk@7915 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2009-12-18 20:40:08 +00:00
parent 82d84605e4
commit addcba5131
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ module Text
end
chunk.unpack("C*").each do |c|
if (c > 0x1f and c < 0x80)
if (c > 0x1f and c < 0x7f)
buf << c.chr
else
buf << "."