This tests encoding characters in various character sets.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS encode('UTF-8', 'U+00A0') is '%C2%A0'
PASS encode('GBK', 'U+00A5') is '%A3%A4'
PASS encode('gb2312', 'U+00A5') is '%A3%A4'
PASS encode('GB-2312-80', 'U+00A5') is '%A3%A4'
PASS encode('EUC-CN', 'U+00A5') is '%A3%A4'
PASS encode('GBK', 'U+20AC') is '%80'
PASS encode('gb2312', 'U+20AC') is '%80'
PASS encode('GB-2312-80', 'U+20AC') is '%80'
PASS encode('EUC-CN', 'U+20AC') is '%80'
PASS encode('GBK', 'U+01F9') is '%A8%BF'
PASS encode('GBK', 'U+1E3F') is '%A8%BC'
PASS encode('GBK', 'U+22EF') is '%A1%AD'
PASS encode('GBK', 'U+301C') is '%A1%AB'
PASS encode('mac', 'U+221A') is '%C3'
PASS encode('macintosh', 'U+221A') is '%C3'
PASS encode('MacRoman', 'U+221A') is '%C3'
PASS encode('x-mac-greek', 'U+0391') is '%B0'
PASS encode('x-mac-cyrillic', 'U+0410') is '%80'
PASS encode('mac-cyrillic', 'U+0410') is '%80'
PASS encode('x-mac-centraleurroman', 'U+0100') is '%81'
PASS encode('x-mac-turkish', 'U+00C5') is '%81'
PASS successfullyParsed is true

TEST COMPLETE

