![]() |
Solved Formating menu text - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: Python 3 migration (https://forum.kodi.tv/forumdisplay.php?fid=281) +---- Thread: Solved Formating menu text (/showthread.php?tid=364235) |
Formating menu text - burekas - 2021-08-29 Hi, I need some help with formating text. In my old addon it was written like this:
The color is good but the problem is with the bold tags, it shows it like this: How can I fix this? in Kodi 17.6 it was ok. Thanks. ![]() RE: Formating menu text - burekas - 2021-08-29 I found the problem, it was because the encoding issue in the getLocaleString function Code: def getLocaleString(id): After remove the .encode('utf-8'), it's ok now Code: def getLocaleString(id): |