Closed xspeed1989 closed 3 years ago
+1
@smohantty Can you have a look? Thanks!
Looks good. But I think your implementation should be polished.
@xspeed1989 , Thanks for the patchs . could you please split into 2 separate commit and request for review separately so that it will be easy to track and test.
@xspeed1989 , Thanks for the patchs . could you please split into 2 separate commit and request for review separately so that it will be easy to track and test.
- patch for handling non-utf8 file path.
- dynamic unloading of library in multi threading scenario.
@smohantty ok, I will do it, thanks for review
the pr will be re-commit for easy track and test
1.On windows, stbi__fopen opens a path containing non-English characters or symbols will fail due to encoding problems, so the filename parameter is assumed to be utf-8 and converted to utf-16, and then call _wfopen_s or _wfopen