coorected utf-8 to widestring handling.