-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Describe the Helios Issue
Using Cyrillic symbols in Lua Script by the trigger of the binding "set Text" in control "Label" returns "???" instead of text. There is no issue with using of Latin letters.
Steps to Reproduce the problem
Steps to reproduce the behaviour:
- Write any script to return a text in Cyrillic. Just like "return "ОФ"" (pic 1)
- Start Helios and DCS and see result as "??" (pic 2)
- Using Latin letter in script returns everything fine like "return "HP"" (pic 3)
- See result (pic 4)
Expected behavior
I'm expecting to get a text in Cyrillic by running trigger conditions using the binding "set Text" of the control "Label".
Please complete the following information:
- Helios Version 1.6.6150.0002
The problem happened while using
- Profile Editor
- Control Center
Additional context
I have tried different coding in the profile file (e.g. Windows-1251 instead of UTF-8) but this didn't help. I also tested ASCII charset instead of letters like "return string.char(130)" (pic 5) but it returns "??" as well (pic 6). ASCII charset for Latin letters works fine (pic 7, 8). The issue happens by any font family, no mattter if it supports Cyrilic or not. At the same time, "Text" property of the element shows Cyrillic words without problems (pic 9, 10)
Pic 1:

Pic 2:

Pic 3:

Pic 4:

Pic 5:

Pic 6:

Pic 7:

Pic 8:

Pic 9:

Pic 10:
