UnicodeEncodeError in translation file

The Portuguese translated strings.po is causing an error in my addon. Is this common? I would have thought the translation service would prevent this from happening?

What should I do? Just delete the offending string?
Use something like this

PHP Code:
def localise(id):
string __addon__.getLocalizedString(id).encode'utf-8''ignore' )
where you throw all localisations through

Not sure if it the .po should prevent this.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe

Logout Mark Read Team Forum Stats Members Help
UnicodeEncodeError in translation file0
This forum uses Lukasz Tkacz MyBB addons.