check for valid encoding to skip manipulation block vs. checking for ascii only
update rubies for travis