fixed error on decoding truncated utf16 strings
fixed error on decoding truncated utf16 strings

ohio813/python-registry,azmikamis/python-registry,NiKiZe/python-registry,zweger/python-registry,williballenthin/python-registry