2020-11-19, 17:45
Hi,
Im trying to add a PR for hebrew support to an addon im using.
I figured out that when I enter a search string in Hebrew - addon sees input reversed (mirrored).
"שלום" is "םולש"
that's why I can't search for anything in Hebrew. When I enter the string backward - everything works.
t's not a problem with kodi/skin encoding because other addons work fine with Hebrew on my system.
this is the code that gets input from the user but it looks similar to other working addons.
is there any other encoding setting I miss?
Thank you
Im trying to add a PR for hebrew support to an addon im using.
I figured out that when I enter a search string in Hebrew - addon sees input reversed (mirrored).
"שלום" is "םולש"
that's why I can't search for anything in Hebrew. When I enter the string backward - everything works.
t's not a problem with kodi/skin encoding because other addons work fine with Hebrew on my system.
this is the code that gets input from the user but it looks similar to other working addons.
python:
keyboard = xbmc.Keyboard()
keyboard.setDefault('')
keyboard.setHeading(_('Enter search string'))
keyboard.doModal()
if keyboard.isConfirmed():
keyword = kbd.getText()
is there any other encoding setting I miss?
Thank you