Added UTF32 upconversion function for wchar oriented stream applications