Cleanup, make version check for encoding error message more robust.
Cleanup, make version check for encoding error message more robust.

wfxiang08/Nuitka,kayhayen/Nuitka,tempbottle/Nuitka,tempbottle/Nuitka,wfxiang08/Nuitka,kayhayen/Nuitka,kayhayen/Nuitka,tempbottle/Nuitka,wfxiang08/Nuitka,tempbottle/Nuitka,kayhayen/Nuitka,wfxiang08/Nuitka