ui icon indicating copy to clipboard operation
ui copied to clipboard

ui.picture display Fail if the image path contains Chinese

Open makao007 opened this issue 2 years ago • 0 comments

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
                            )

makao007 avatar Jul 13 '23 10:07 makao007