CodePudding user response:
In the GTK, the default form is utf-8 character encoding, which all shows the string, you need to use utf8 encoding to display properly, g_locale_from_utf8 ()/g_locale_to_utf8 () these two functions is the string in utf8 encoding format and local code conversion,