and non-C locale. Fix is just to use correct source's length for char2wchar call.
Attach a file by drag & drop or click to upload