hoffstadt / hoffstadt/DearPyGui
The viewport title appears as garbled characters in Chinese
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
I have currently set the viewport title to Traditional Chinese. The Chinese displayed within the window is correct. However, I've noticed that the Chinese display becomes garbled in the title bar and the name when the application is minimized. Is there any way to fix this issue?
```python
import dearpygui.dearpygui as dpg
import dearpygui.dearpygui as dpg
dpg.create_context()
reg = dpg.add_font_registry()
fontName = dpg.add_font(file="C:\Windows\Fonts\msjh.ttc", size=18, parent=reg)
dpg.add_font_range(0x0001, 0x9FFF, parent=fontName)
dpg.bind_font(fontName)
with dpg.window():
dpg.add_button(label='測試')
dpg.create_viewport(title="測試", width=1000, height=500)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
```


Contributor guide
Assessment
This issue has not been assessed yet.