We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c0990 commit ff7c132Copy full SHA for ff7c132
src/Modules/Main.lua
@@ -262,9 +262,8 @@ the "Releases" section of the GitHub page.]])
262
end
263
264
function main:DetectUnicodeSupport()
265
- -- In PoeCharm returns a valid width, in normal PoB returns 2142240768
266
- local w = DrawStringWidth(16, "VAR", "\195\164") -- U+00E4 LATIN SMALL LETTER A WITH DIAERESIS
267
- self.unicode = w > 0 and w < 100
+ -- PoeCharm has utf8 global that normal PoB doesn't have
+ self.unicode = type(_G.utf8) == "table"
268
if self.unicode then
269
ConPrintf("Unicode support detected")
270
0 commit comments