Open hakavlad opened 2 weeks ago
Not too sure, I believe it might be because the font doesn't support it. I forget what the font was exactly because I named it font.ttf 🤦 but it might be Noto Sans. Not a big deal, 3 possible solutions:
might be because the font doesn't support it.
No. For example, all popular fonts suppots basic non-ascii symbols like ё and —.
The problem occurs on both Windows and Linux.
but it might be Noto Sans
The problem is not that exotic characters are not supported. The most basic things are not supported!
I suppose it's possible to do something with the input encodings.
3 possible solutions
What do you think could fix it?
I'm not gopher. Maybe consult on SO or r/golang.
Go itself supports Unicode character in strings, I think it's just the UI library "dear imgui" that is having trouble.
Maybe related
unspecified font range defaults to minimal latin range, it does not include all characters provided by font.
see https://pkg.go.dev/github.com/allendang/imgui-go#Font and further
Not a big priority imo
Non-ascii comments are displayed as
?????????????
. Can this be fixed?