Sorry for interrupting but I think I have an example of this happening:
when I make the following call from python:
Code:
json_songs_detail_query = '{"jsonrpc": "2.0", "method": "AudioLibrary.GetSongs", "params": {"albumid": %s}, "id": 1}' % albumid
json_songs_detail = xbmc.executeJSONRPC(json_songs_detail_query)
print json_songs_detail
I get the following xbmc.log report:
Code:
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : {
"end" : 14,
"songs" : [
{
"file" : "/media/freenas/MP3 Music/Full Albums/Stray Cats/02_Stray Cats/02_Live/02_Live At Rockpalast (K ln, 16 July)_1981/Audio/01 - Sweet Love on My Mind.mp3",
"label" : "Sweet Love on My Mind",
"songid" : 14938,
"thumbnail" : "special://masterprofile/Thumbnails/Music/4/4acc11e6.tbn"
},
the inportant part of the feedback is:
"file" : "/media/freenas/MP3 Music/Full Albums/Stray Cats/02_Stray Cats/02_Live/02_Live At Rockpalast (K ln, 16 July)_1981/Audio/01 - Sweet Love on My Mind.mp3",
the folder is named:
/media/freenas/MP3 Music/Full Albums/Stray Cats/02_Stray Cats/02_Live/02_Live At Rockpalast (Köln, 16 July)_1981/Audio
notice the ' ö '
when I print to the xbmc.log using:
Code:
print repr( json_songs_detail)
the feed back for the file path now becomes:
"file" : "/media/freenas/MP3 Music/Full Albums/Stray Cats/02_Stray Cats/02_Live/02_Live At Rockpalast (K\x94ln, 16 July)_1981/Audio/01 - Sweet Love on My Mind.mp3"
the open space in 'Köln' where the " ö " is suppose to be, becomes \x94 which is the HEX code for " ö " in CP850 not UTF-8(I believe the HEX would be 0xF6)
I'm not sure this is what pilophae is talking about, but I think it does show a CP850 code coming though and is unable to be treated at UTF-8.