2012-02-23, 07:17
I have some code that uses this string:
(python repr())
...which would appear a to be a utf-8 encoded unicode string (Although I ma very weak in this area!)
and I am setting that to a window property via:
(in a WindowXML)
I suspect I am going wrong somewhere basic but an arvo of researching various encoding things has got me no closer...
anyone have ideas??
...however, this results in gobbledygook on screen.
Code:
u'Sigur R\xc3\xb3s'
(python repr())
...which would appear a to be a utf-8 encoded unicode string (Although I ma very weak in this area!)
and I am setting that to a window property via:
Code:
xbmcgui.Window(xbmcgui.getCurrentWindowId()).setProperty("CURRENTARTIST", artist)
(in a WindowXML)
I suspect I am going wrong somewhere basic but an arvo of researching various encoding things has got me no closer...
anyone have ideas??
...however, this results in gobbledygook on screen.