Character encoding issue #92
Labels
bug
Something isn't working
High Priority
This should be solved ASAP
i18n
Internationalization support
There is problem in NativeTextRenderer while using non-english national characters (Russian in my case). Multiline render used in label control shows wrong characters.
It can be fixed adding charset while importing "DrawText" from user32.dll like this:
[DllImport("user32.dll", CharSet = CharSet.Auto)]
instead of
[DllImport("user32.dll")]
I dunno why, but gdi32's TextOut do not cause any problem with charset.
(Russian Win7, Win10, .net 4.x, .net core 3.1)
The text was updated successfully, but these errors were encountered: