Clean up utf-16be decoder/encoder flags a bit more