2013-07-31, 10:59
Dear all,
I am writing my own scraper for some Japanese videos. and the source website is encoded in "EUC-JP" instead of UTF-8. The GetSearchResults() and GetDetails() function will return some weird characters.
Even though I put <?xml version="1.0" encoding="EUC-JP" standalone="yes"> as the first line of the output of GetSearchResults(), it doesn't work. I don't know whether it's related to my language & charset settings in System settings in xbmc (by default). Is there any place in xbmc to let the http component adaptively choose the charset?
Can anyone here give me some hint or advices? thank you very much
I am writing my own scraper for some Japanese videos. and the source website is encoded in "EUC-JP" instead of UTF-8. The GetSearchResults() and GetDetails() function will return some weird characters.
Even though I put <?xml version="1.0" encoding="EUC-JP" standalone="yes"> as the first line of the output of GetSearchResults(), it doesn't work. I don't know whether it's related to my language & charset settings in System settings in xbmc (by default). Is there any place in xbmc to let the http component adaptively choose the charset?
Can anyone here give me some hint or advices? thank you very much