Fixed a bug in UTF-32 -> wchar_t conversion.