.. _invalid-unicode-codec: invalid-unicode-codec / E2501 ============================= **Message emitted:** UTF-16 and UTF-32 aren't backward compatible. Use UTF-8 instead **Description:** *For compatibility use UTF-8 instead of UTF-16/UTF-32. See also https://bugs.python.org/issue1503789 for a history of this issue. And https://softwareengineering.stackexchange.com/questions/102205/should-utf-16-be-considered-harmful for some possible problems when using UTF-16 for instance.* Created by ``unicode_checker`` checker