Fixed a bug in wchar to utf char conversion.