remedybg-issues icon indicating copy to clipboard operation
remedybg-issues copied to clipboard

Watch wstr cannot print 私

Open vdheuvel opened this issue 2 years ago • 1 comments

I'm setting two values for QStrings: 私 and ç, they are stored in UTF-16LE as e700 and c179. When using the wstr format specifier, I'm getting ç as expected, but 私 cannot render, and is replaced with ?

code: image debugger: image Same issue appears in code display. Encoding of the file is UTF-8: image

Discovered #205 afterwards. There is at least overlap, maybe they're the same issue.

vdheuvel avatar May 23 '22 09:05 vdheuvel

The default glyph ranges used in Dear ImGui from GetGlyphRangesDefault does not include these characters. Would need to look into including a bigger set of default glyphs or allow the user to specify the range(s).

x13pixels avatar May 29 '22 22:05 x13pixels