Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui.picture display Fail if the image path contains Chinese #535

Open
makao007 opened this issue Jul 13, 2023 · 0 comments
Open

ui.picture display Fail if the image path contains Chinese #535

makao007 opened this issue Jul 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@makao007
Copy link

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 makao007 added the bug Something isn't working label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant