Fix Translate issue #27904, string comparison fix, pawel's fix for default encoding, and updated test bytes