[mythtv-commits] Ticket #2818: Support for non-ascii filenames

MythTV mythtv at cvs.mythtv.org
Wed Dec 20 15:50:52 UTC 2006


#2818: Support for non-ascii filenames
-----------------------------+----------------------------------------------
 Reporter:  andrei at tanas.ca  |       Owner:  ijr    
     Type:  defect           |      Status:  new    
 Priority:  minor            |   Milestone:  unknown
Component:  mythtv           |     Version:  0.20   
 Severity:  medium           |  
-----------------------------+----------------------------------------------
 Hi,

 '''uint myth_system(const QString &command, int flags)''' (used to launch
 external tools, specifically tested with mplayer) function accepts QString
 as a parameter, but in the actuall call to execl strips non-ASCII
 characters from the string. The end result (again, noticed and tested
 mainly in MythGallery, assumed to have similar implications in MythVideo,
 MythArchive and possibly other places) - if directory names contain non-
 ASCII characters (Cyrillic in my case), the external applications fail to
 launch because, for example, path "/home/pictures/видео.mpg" is converted
 to "/home/pictures/?????.mpg".
 Simple conversion to UTF8 instead of ASCII (backwards compatible with
 ASCII), solves the issue.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2818>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list