2018-02-12, 15:51
Is it possible that PyXBMCt returns str type strings instead of unicode strings?
My addon relies heavely on PyXBMCt . I did a test (used: from kodi_six import xbmc, xbmcgui, xbmcvfs) and browse_dialog.browseSingle() returns now a unicode instead of a str.
So far, success...
If I put this unicode string in a label (using the pyXBMCt module), then it get's displayed correctly (this unicode string has some non-ascii char inside to test).
However, if I do a getLabel() on this pyXBMCt label, it returns a str type string. I was hoping that this getLabel() call would return an unicode type string.
Is there a wrapper or new version of pyXBMCt that would return unicode type strings?
PS: this is all tested in Kodi 17.6
My addon relies heavely on PyXBMCt . I did a test (used: from kodi_six import xbmc, xbmcgui, xbmcvfs) and browse_dialog.browseSingle() returns now a unicode instead of a str.
So far, success...
If I put this unicode string in a label (using the pyXBMCt module), then it get's displayed correctly (this unicode string has some non-ascii char inside to test).
However, if I do a getLabel() on this pyXBMCt label, it returns a str type string. I was hoping that this getLabel() call would return an unicode type string.
Is there a wrapper or new version of pyXBMCt that would return unicode type strings?
PS: this is all tested in Kodi 17.6