hoffstadt / hoffstadt/DearPyGui

When a Chinese characters included in the file_dialog filename, it crashed with code -1073740791 (0xC0000409).

Open
#1,903 3 comments 0 reactions 1 assignee Claimed by @Pcothren View on GitHub
state: pending type: bug
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

1. copy a file which filename include Chinese characters to the file_dialog default open path.
2. run the dpg.file_dialog() to show the file dialog.
3. Dearpygui crashed with code with code -1073740791 (0xC0000409).
4. For example, the filename is 'test-副本.xml'
Thank you!

----

## Version of Dear PyGui

Version: 1.7.1
Operating System: win 10

```python
with dpg.file_dialog(height=500,width=500,callback=open_file_callback):
dpg.add_file_extension(".xml",color=(0,255,0,255))
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.