Use latin-1 encoding instead of ascii to support arbitrary byte strings like \xFF\xFE