Opened 17 years ago
Closed 17 years ago
Support for non-ascii filenames
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.
Change History (6)
Changed 17 years ago by andrei@…
Changed 17 years ago by andrei@…
Resolution: |
→ fixed
|
Status: |
new →
closed
|
myth_system() fix for non-ascii file paths and command line parameters