Skip to content

Bug report : Impossible to show € correctly #2491

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

Open
SoftTechPy2024 opened this issue Mar 25, 2025 · 3 comments
Open

Bug report : Impossible to show € correctly #2491

SoftTechPy2024 opened this issue Mar 25, 2025 · 3 comments
Labels
state: pending not addressed yet type: bug bug

Comments

@SoftTechPy2024
Copy link

DearPyGui 2.0.0
Windows 11

Unable to add the unicode character '€'

I add € in my string to show it on UI. But, it shown an ?.

Here is the code to reproduce error :

import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport(title="Title")

with dpg.window():
dpg.add_text("€")

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

Please consider to resolve this issue quickly if is possible.

@SoftTechPy2024 SoftTechPy2024 added state: pending not addressed yet type: bug bug labels Mar 25, 2025
@v-ein
Copy link
Collaborator

v-ein commented Mar 25, 2025

Please read the docs on how to use non-ASCII characters. The euro sign is U+20AC, which is outside of ASCII range and thus not loaded by default. You need to specify it explicitly.

@SoftTechPy2024
Copy link
Author

Thank you so much for your quick answer. I will verify later.

@v-ein
Copy link
Collaborator

v-ein commented Apr 16, 2025

Please don't click the link in the notification you received for the previous comment. It's a scam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: pending not addressed yet type: bug bug
Projects
None yet
Development

No branches or pull requests

4 participants
@v-ein @SoftTechPy2024 and others