Per partial list of the encodings supported by a canone python installation can be found per appendix B
It is con fact perfectly possible – and proper – onesto encode per sequence of Unicode codepoints durante the (say) Latin-1 encoding provided that the codepoints are representable in the target encoding. It is for instance possible puro encode as ‘Latin-1’ the ‘U+00e8’ codepoint, whereas the same cannot be done for the Kanji codepoint ‘U+4e01’. Both codepoints per the preceding example, however, can be represented sopra the shift-jis-2004 encoding, as well as durante UTF8 or UTF16. UTF8 and UTF16 are special, because they are the only encodings that can always be safely specified as targets (as they are capable of represent the entire Unicode repertoire)
Per particular, transcoding sicuro UTF8 is always possible, if the codec for the source encoding is installed (Python’s canone codecs are listed sopra appendix B):