ui
ui copied to clipboard
ui.picture display Fail if the image path contains Chinese
V version: 0.4.0 UI version: 0.0.4 OS: Windows11
What did you do? Show Picture with a path contain Chinese
What did you expect to see? show normal
What did you see instead? Got Error:
Michosoft Visual C++ Runtime Library
Assertion filed;
File: D:/Tools/v/thridparty/sokol/sokol_gfx.h
Line: 14480
** My Code
// works ok
ui.picture (
path: 'd:/a.png'
width:230,
height:300
)
// fail, the path contains Chinese
ui.picture (
path: 'd:/好.png'
width:230,
height:300
)