Closed Miwer closed 4 months ago
I think this bug is related to issue #85 - maybe the search history items need to be specified as unicode somewhere to fix this.
The issue occurs because Python 2 does a lot of things poorly with respect to Unicode handling, like implicitly decoding string data when encoding, but not allowing you to identify the encoding being used when performing the decoding and instead using a default encoding that is almost never useful and results in this error occurring.
I did not have this problem in older versions of the plugin, when repository was available for leia. This only started with the latest unofficial versions downloaded here from github.
When you download these newer version, it is clearly stated that Kodi 18 is unsupported. You can use an older version instead, but if that no longer works, then you are on your own in terms of updates.
There is a simple fix for this that won't impact anything else, but eventually Kodi 18 releases will cease altogether. There aren't that many devices that can run CoreELEC 9.2.8 that can't be updated. Would recommend that you update if your device supports it.
Thank you for the commit. Unfortunately my device (Odroid C2) has been depricated for some time now, and Coreelec has dropped support for it in their newer versions, so I'm kinda stuck on Kodi 18 for now. I know LibreElec tried to reintroduce support for Odroid C2, but their kernel have other issues, that had me revert to Coreelec. Next step would be replacing the hardware to something newer, but for now it works.
Context
Please provide any relevant information about your setup
Expected Behavior
Be able to remove or rename search history items with non-english characters
Current Behavior
I am unable to remove or rename search history items, that contains non-english characters. They are forever stuck in the search history, unless I clear the history entirely. Clearing history works, but is undesirable if I want to keep other search history items.
Steps to Reproduce
Log
remove:
Rename:
Additional Information
I think this bug is related to issue #85 - maybe the search history items need to be specified as unicode somewhere to fix this. I did not have this problem in older versions of the plugin, when repository was available for leia. This only started with the latest unofficial versions downloaded here from github.