Refactor string encoding check to new method.
Refactor string encoding check to new method.

Created new Binary.ascii_string? method to check if a string is all ASCII
(i.e. no bytes with their high bit set). Instead of using #each_byte, calls
String#scan, which is about 4.5% faster.

ckruse/CFPropertyList