Hi,
I have made new python encoding file (/usr/lib/python2.6/encodings/iso6937.py) for iso6937 encode/decode to/from unicode/str strings.
ISO6937 is used in the EPG in the Central Europe and some other countries.
Without this new encoding file wasn't possible to use EPG search in the many plugins. Now it is possible convert string and search EPG via:
searchstr = searchstr.decode('UTF-8', 'replace').encode(encoding, 'replace')
epgcache = eEPGCache.getInstance()
ret = epgcache.search(('RIBDT', 500, eEPGCache.PARTIAL_TITLE_SEARCH, searchString, eEPGCache.NO_CASE_CHECK))
where encoding variable is set to 'iso6937'.
I want to ask all developers, please enable to change codings in your EPG search plugins. Don't use only "default" ISO8859-15 or UTF-8 encodings. There are countries with other encodings in EPG in the world. For example EPGSearch plugin uses config.plugins.epgsearch.encoding in the /etc/enigma2/settings file.
Many thanks.