2008-07-10, 15:18
I use XBMC to show some pic in rar file. I find if the filename come with other charset, it can not show. I traced the code, found that in place, the file's name storaged in unicode and utf8, like GUIWidowSlideShow.cpp:line 298, ->m_strPath.c_str(), it shows: "rar://E%3a%5cbt%5c3D%e5%b1%8f%e4%bf%9d%2erar/鎴浘(1024-768)/Ancient Castle.jpg", the frist part(from rar:~%2erar" encoded in unicode, the second part( from "鎴浘(1024-768)/Ancient Castle.jpg") encoded in utf8. the origent string is "rar:E:/bt/3D屏保.rar/截图(1024-768)/Ancient Castle.jpg"
I can't find where the string start, but it mixed two type of code make rarlib can't decompress the files.
can anyone solve this problem?
I can't find where the string start, but it mixed two type of code make rarlib can't decompress the files.
can anyone solve this problem?