BLI_strncpy_wchar_from_utf8 internally assumes wchar_t is 32 bits
which is not the case on windows.
I don't quite understand this area, but analyzing the code,
it seems the intent is to store an array of unicodes and not a
The solution in thie patch is to make and use functions that use uint (BLI_unicode).