07-25-2023, 06:23 AM
You have to decode the values returned for both text and markup.
No need to re-encode, if function to set the text will check the type of the parameter (plain string\ or \unicode and do the Right Thing.
But to be correct most of your code should be unicode-aware (the parts that tread the translations from file, for instance).
No need to re-encode, if function to set the text will check the type of the parameter (plain string\ or \unicode and do the Right Thing.
But to be correct most of your code should be unicode-aware (the parts that tread the translations from file, for instance).