1 This tests decoding characters in various character sets. 2 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6 PASS decode('mac', '%C3') is 'U+221A' 7 PASS decode('macintosh', '%C3') is 'U+221A' 8 PASS decode('MacRoman', '%C3') is 'U+221A' 9 PASS decode('x-mac-greek', '%B0') is 'U+0391' 10 PASS decode('x-mac-ukrainian', '%80') is 'U+0410' 11 PASS decode('x-mac-cyrillic', '%80') is 'U+0410' 12 PASS decode('mac-cyrillic', '%80') is 'U+0410' 13 PASS decode('x-mac-centraleurroman', '%81') is 'U+0100' 14 PASS decode('x-mac-ce', '%81') is 'U+0100' 15 PASS decode('x-mac-turkish', '%81') is 'U+00C5' 16 PASS successfullyParsed is true 17 18 TEST COMPLETE 19 20