joepie91/python-whois — pull request #44 by afilipovich (2014-09-09 12:51:32+00:00)
Title: Fix for issue #28 Unicode parsing problems

$ ./test.py run all
[ 1/246] 0007games.com passed in normalized mode.
[ 2/246] 0007games.com passed in default mode.
[ 3/246] 0031fashion.com passed in normalized mode.
[ 4/246] 0031fashion.com passed in default mode.
[ 5/246] 123vitamine.com passed in normalized mode.
[ 6/246] 123vitamine.com passed in default mode.
[ 7/246] 2x4.ru passed in normalized mode.
[ 8/246] 2x4.ru passed in default mode.
[ 9/246] 365calendars.com passed in normalized mode.
[ 10/246] 365calendars.com passed in default mode.
[ 11/246] 9v.lt passed in normalized mode.
[ 12/246] 9v.lt passed in default mode.
[ 13/246] about.museum passed in normalized mode.
[ 14/246] about.museum passed in default mode.
[ 15/246] abouttubes.com passed in normalized mode.
[ 16/246] abouttubes.com passed in default mode.
[ 17/246] actu.org.au passed in normalized mode.
[ 18/246] actu.org.au passed in default mode.
[ 19/246] alibaba.jp passed in normalized mode.
[ 20/246] alibaba.jp passed in default mode.
[ 21/246] alliancefrançaise.nu passed in normalized mode.
[ 22/246] alliancefrançaise.nu passed in default mode.
[ 23/246] anink.com passed in normalized mode.
[ 24/246] anink.com passed in default mode.
[ 25/246] anonne.ws passed in normalized mode.
[ 26/246] anonne.ws passed in default mode.
[ 27/246] anonnews.org passed in normalized mode.
[ 28/246] anonnews.org passed in default mode.
[ 29/246] aol.com passed in normalized mode.
[ 30/246] aol.com passed in default mode.
[ 31/246] aridns.net.au passed in normalized mode.
[ 32/246] aridns.net.au passed in default mode.
[ 33/246] arkeysolutions.com passed in normalized mode.
[ 34/246] arkeysolutions.com passed in default mode.
[ 35/246] asiahotel.co.th passed in normalized mode.
[ 36/246] asiahotel.co.th passed in default mode.
[ 37/246] atheme.org passed in normalized mode.
[ 38/246] atheme.org passed in default mode.
[ 39/246] australia.gov.au passed in normalized mode.
[ 40/246] australia.gov.au passed in default mode.
[ 41/246] b.ro passed in normalized mode.
[ 42/246] b.ro passed in default mode.
[ 43/246] baligems.co.uk passed in normalized mode.
[ 44/246] baligems.co.uk passed in default mode.
[ 45/246] bidtheatre.com passed in normalized mode.
[ 46/246] bidtheatre.com passed in default mode.
[ 47/246] blackburn.ac.uk passed in normalized mode.
[ 48/246] blackburn.ac.uk passed in default mode.
[ 49/246] bristol.ac.uk passed in normalized mode.
[ 50/246] bristol.ac.uk passed in default mode.
[ 51/246] bts.co.th passed in normalized mode.
[ 52/246] bts.co.th passed in default mode.
[ 53/246] byme.at passed in normalized mode.
[ 54/246] byme.at passed in default mode.
[ 55/246] bäckerei.de passed in normalized mode.
[ 56/246] bäckerei.de passed in default mode.
[ 57/246] communigal.net passed in normalized mode.
[ 58/246] communigal.net passed in default mode.
[ 59/246] cryto.net passed in normalized mode.
[ 60/246] cryto.net passed in default mode.
[ 61/246] daemonrage.net passed in normalized mode.
[ 62/246] daemonrage.net passed in default mode.
[ 63/246] davicom.com.tw passed in normalized mode.
[ 64/246] davicom.com.tw passed in default mode.
[ 65/246] defunctkernel.me passed in normalized mode.
[ 66/246] defunctkernel.me passed in default mode.
[ 67/246] direct.gov.uk passed in normalized mode.
[ 68/246] direct.gov.uk passed in default mode.
[ 69/246] dns4pro.com passed in normalized mode.
[ 70/246] dns4pro.com passed in default mode.
[ 71/246] donuts.co passed in normalized mode.
[ 72/246] donuts.co passed in default mode.
[ 73/246] drpciv.biz passed in normalized mode.
[ 74/246] drpciv.biz passed in default mode.
[ 75/246] edis.at passed in normalized mode.
[ 76/246] edis.at passed in default mode.
[ 77/246] engine.com passed in normalized mode.
[ 78/246] engine.com passed in default mode.
[ 79/246] evalsed.info passed in normalized mode.
[ 80/246] evalsed.info passed in default mode.
[ 81/246] example.com passed in normalized mode.
[ 82/246] example.com passed in default mode.
[ 83/246] expopack.com.mx passed in normalized mode.
[ 84/246] expopack.com.mx passed in default mode.
[ 85/246] f63.net passed in normalized mode.
[ 86/246] f63.net passed in default mode.
[ 87/246] formule1fo.com passed in normalized mode.
[ 88/246] formule1fo.com passed in default mode.
[ 89/246] foxiepa.ws passed in normalized mode.
[ 90/246] foxiepa.ws passed in default mode.
[ 91/246] geko.dk passed in normalized mode.
[ 92/246] geko.dk passed in default mode.
[ 93/246] get.moe passed in normalized mode.
[ 94/246] get.moe passed in default mode.
[ 95/246] globallatedeals.com passed in normalized mode.
[ 96/246] globallatedeals.com passed in default mode.
[ 97/246] globaltravelgroup.com passed in normalized mode.
[ 98/246] globaltravelgroup.com passed in default mode.
[ 99/246] google.cn passed in normalized mode.
[100/246] google.cn passed in default mode.
[101/246] google.co.jp passed in normalized mode.
[102/246] google.co.jp passed in default mode.
[103/246] google.co.th passed in normalized mode.
[104/246] google.co.th passed in default mode.
[105/246] google.co.uk passed in normalized mode.
[106/246] google.co.uk passed in default mode.
[107/246] google.com passed in normalized mode.
[108/246] google.com passed in default mode.
[109/246] google.com.tw passed in normalized mode.
[110/246] google.com.tw passed in default mode.
[111/246] google.it passed in normalized mode.
[112/246] google.it passed in default mode.
[113/246] hl3.eu passed in normalized mode.
[114/246] hl3.eu passed in default mode.
[115/246] hopjb.eu passed in normalized mode.
[116/246] hopjb.eu passed in default mode.
[117/246] huskeh.net passed in normalized mode.
[118/246] huskeh.net passed in default mode.
[119/246] hyves.nl passed in normalized mode.
[120/246] hyves.nl passed in default mode.
[121/246] imperial.ac.uk passed in normalized mode.
[122/246] imperial.ac.uk passed in default mode.
[123/246] ireland.ie passed in normalized mode.
[124/246] ireland.ie passed in default mode.
[125/246] ismtgoxdeadyet.com passed in normalized mode.
[126/246] ismtgoxdeadyet.com passed in default mode.
[127/246] jizzbo.com passed in normalized mode.
[128/246] jizzbo.com passed in default mode.
[129/246] keybase.io passed in normalized mode.
[130/246] keybase.io passed in default mode.
[131/246] linux.conf.au passed in normalized mode.
[132/246] linux.conf.au passed in default mode.
[133/246] lowendbox.com passed in normalized mode.
[134/246] lowendbox.com passed in default mode.
[135/246] lowendshare.com passed in normalized mode.
[136/246] lowendshare.com passed in default mode.
[137/246] microsoft.com passed in normalized mode.
[138/246] microsoft.com passed in default mode.
[139/246] mu.oz.au passed in normalized mode.
[140/246] mu.oz.au passed in default mode.
[141/246] nepasituation.com passed in normalized mode.
[142/246] nepasituation.com passed in default mode.
[143/246] nic.buzz passed in normalized mode.
[144/246] nic.buzz passed in default mode.
[145/246] nic.ir passed in normalized mode.
[146/246] nic.ir passed in default mode.
[147/246] nic.ps passed in normalized mode.
[148/246] nic.ps passed in default mode.
[149/246] nic.pw passed in normalized mode.
[150/246] nic.pw passed in default mode.
[151/246] nic.ru passed in normalized mode.
[152/246] nic.ru passed in default mode.
[153/246] nominet.org.uk passed in normalized mode.
[154/246] nominet.org.uk passed in default mode.
[155/246] nsa.gov passed in normalized mode.
[156/246] nsa.gov passed in default mode.
[157/246] nttpc.co.jp passed in normalized mode.
[158/246] nttpc.co.jp passed in default mode.
[159/246] nytimes.com passed in normalized mode.
[160/246] nytimes.com passed in default mode.
[161/246] oli.id.au passed in normalized mode.
[162/246] oli.id.au passed in default mode.
[163/246] ovh.fr passed in normalized mode.
[164/246] ovh.fr passed in default mode.
[165/246] pcmups.com.tw passed in normalized mode.
[166/246] pcmups.com.tw passed in default mode.
[167/246] pixelmania.asia passed in normalized mode.
[168/246] pixelmania.asia passed in default mode.
[169/246] porn.com.tw passed in normalized mode.
[170/246] porn.com.tw passed in default mode.
[171/246] prq.se passed in normalized mode.
[172/246] prq.se passed in default mode.
[173/246] quadranet.com passed in normalized mode.
[174/246] quadranet.com passed in default mode.
[175/246] realtek.com.tw passed in normalized mode.
[176/246] realtek.com.tw passed in default mode.
[177/246] redd.it passed in normalized mode.
[178/246] redd.it passed in default mode.
[179/246] ricoh.co.th passed in normalized mode.
[180/246] ricoh.co.th passed in default mode.
[181/246] rs.co.th passed in normalized mode.
[182/246] rs.co.th passed in default mode.
[183/246] servequake.com passed in normalized mode.
[184/246] servequake.com passed in default mode.
[185/246] siamparagon.co.th passed in normalized mode.
[186/246] siamparagon.co.th passed in default mode.
[187/246] simpardaz.com passed in normalized mode.
[188/246] simpardaz.com passed in default mode.
[189/246] sina.com.cn passed in normalized mode.
[190/246] sina.com.cn passed in default mode.
[191/246] singularity.fr passed in normalized mode.
[192/246] singularity.fr passed in default mode.
[193/246] starbucks.co.th passed in normalized mode.
[194/246] starbucks.co.th passed in default mode.
[195/246] swisscom.ch passed in normalized mode.
[196/246] swisscom.ch passed in default mode.
[197/246] sydney.edu.au passed in normalized mode.
[198/246] sydney.edu.au passed in default mode.
[199/246] test.de passed in normalized mode.
[200/246] test.de passed in default mode.
[201/246] textfiles.com passed in normalized mode.
[202/246] textfiles.com passed in default mode.
[203/246] theregister.com passed in normalized mode.
[204/246] theregister.com passed in default mode.
[205/246] tip.it passed in normalized mode.
[206/246] tip.it passed in default mode.
[207/246] toyota.co.th passed in normalized mode.
[208/246] toyota.co.th passed in default mode.
[209/246] twitter.com passed in normalized mode.
[210/246] twitter.com passed in default mode.
[211/246] ufpa.br passed in normalized mode.
[212/246] ufpa.br passed in default mode.
[213/246] unwire.hk passed in normalized mode.
[214/246] unwire.hk passed in default mode.
[215/246] urlte.am passed in normalized mode.
[216/246] urlte.am passed in default mode.
[217/246] via.com.tw passed in normalized mode.
[218/246] via.com.tw passed in default mode.
[219/246] vulnweb.com passed in normalized mode.
[220/246] vulnweb.com passed in default mode.
[221/246] wa.us passed in normalized mode.
[222/246] wa.us passed in default mode.
[223/246] warwick.ac.uk passed in normalized mode.
[224/246] warwick.ac.uk passed in default mode.
[225/246] whirlpool.net.au passed in normalized mode.
[226/246] whirlpool.net.au passed in default mode.
[227/246] whois.com passed in normalized mode.
[228/246] whois.com passed in default mode.
[229/246] whois.us passed in normalized mode.
[230/246] whois.us passed in default mode.
[231/246] whoiser.ir passed in normalized mode.
[232/246] whoiser.ir passed in default mode.
[233/246] winamp.com passed in normalized mode.
[234/246] winamp.com passed in default mode.
[235/246] wosoccer.com passed in normalized mode.
[236/246] wosoccer.com passed in default mode.
[237/246] x.it passed in normalized mode.
[238/246] x.it passed in default mode.
[239/246] xboxmoments.com passed in normalized mode.
[240/246] xboxmoments.com passed in default mode.
[241/246] yahoo.com.tw passed in normalized mode.
[242/246] yahoo.com.tw passed in default mode.
[243/246] yahoo.it passed in normalized mode.
[244/246] yahoo.it passed in default mode.
[245/246] zem.org.uk passed in normalized mode.
[246/246] zem.org.uk passed in default mode.
Timing in default mode: 12ms avg, 0ms min, 56ms max
Timing in normalized mode: 12ms avg, 0ms min, 58ms max
All tests passed!