invalid-unicode-codec / E2501#
UTF-16 and UTF-32 aren't backward compatible. Use UTF-8 instead
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/ for some possible problems when using UTF-16 for instance.
# This is a placeholder for correct code for this message.
You can help us make the doc better by contributing !
Created by the unicode_checker checker.