lethal-guitar / RigelEngine

A modern re-implementation of the classic DOS game Duke Nukem II
GNU General Public License v2.0
911 stars 60 forks source link

Mod directories with non-ASCII names aren't displayed correctly #895

Open lethal-guitar opened 1 year ago

naftalimurgor commented 8 months ago

Hello @lethal-guitar :wave:

How are you doing. Would like to give this a shot. How do we reproduce this this and also never thought of non-ASCII names for files and directories until seeing this.

lethal-guitar commented 8 months ago

Hi @naftalimurgor, doing alright, thanks! Happy to hear you're interested in tackling this 🙂

To reproduce:

This happens due to the built-in font coming with the Dear ImGui library not having Unicode glyphs. There should be a fair bit of information on how to add Unicode support on the Dear ImGui wiki.

naftalimurgor commented 8 months ago

Hey @lethal-guitar Glad to hear you are doing well! Taking on this. and will submit a PR as soon as things are set up!

naftalimurgor commented 2 months ago

Hello @lethal-guitar :wave:

I hope you are doing great, been quite busy with college and school work.

Regarding this issue, I found out an issue describing similar edge case faced here: https://github.com/ocornut/imgui/issues/565 Hopefully the pointers highlighted in this issue will help resolve this issue