Widgets' caption is unstable for non-English characters (UTF8).
Widgets' caption is unstable for non-English characters (UTF8).
Author: gps99
Asked: 1 month 24 days 6 hours 3 minutes ago
Viewed: 53 times
Activity: 1 month 17 days 23 hours 11 minutes ago
0
Nitisa's widgets and designers are impressive, and the design positioning and user experience is great. Using Chinese characters (UTF-8) in the caption of widgets, it will be unstable, Compile errors. Changing to English characters is normal. (Example: Guide -> Get started with website-Nitisa.com; System: Win10 22H2 + VS2022). I hope nitisa gets better and better.
Luckily, I found a way to be compatible with Chinese characters the other day. And this method is also suitable for all users of "non-Western".
In short, just two steps:
1. All Files(*.cpp; *.c; *.h) in the following two directories (including subdirectories) Converte from CP1252 to UTF-8 encoding format.
{Nitisa_install_path}\Packages;
{Nitisa_install_path}\Nitisa;
2. FormBuilder Generated interface files such as IForm1.h, IForm2.h, IForm3.h,.... Make sure to code for UTF-8 format.
Since the underlying design of Nitisa is compatible with UFT-8 encoding, the UFT-8 characters in the UI file can be displayed correctly. Theoretically, it can be compatible with language words from all regions.