Home | History | Annotate | Download | only in encoding
      1 This tests encoding 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 encode('mac', 'U+221A') is '%C3'
      7 PASS encode('macintosh', 'U+221A') is '%C3'
      8 PASS encode('MacRoman', 'U+221A') is '%C3'
      9 PASS encode('x-mac-greek', 'U+0391') is '%B0'
     10 PASS encode('x-mac-cyrillic', 'U+0410') is '%80'
     11 PASS encode('mac-cyrillic', 'U+0410') is '%80'
     12 PASS encode('x-mac-centraleurroman', 'U+0100') is '%81'
     13 PASS encode('x-mac-turkish', 'U+00C5') is '%81'
     14 PASS successfullyParsed is true
     15 
     16 TEST COMPLETE
     17 
     18