[MPlayer-users] Filenames with characters from different alphabets
Pepe
rvm3000 at ya.com
Thu Jun 21 19:02:02 CEST 2007
El Miércoles, 20 de Junio de 2007 10:09, Reimar Doeffinger escribió:
> Hello,
>
> On Wed, Jun 20, 2007 at 03:30:43AM +0200, Pepe wrote:
> > My program reads fine those filenames but... how can I pass them to
> > MPlayer without losing those characters? I can pass the filename in UTF-8
> > but MPlayer has to know that it's encoded in UTF-8, is there any option
> > for changing the input charset?
>
> A filename is not a translateable or localized string, it is just a
> bunch of 0-terminated bytes (some values are disallowed, but that's not
> particularly important), and as such you must pass it, any
> conversion will break it.
Ok, thank you for the info.
There should be any problem with Qt's QProcess as it seems it converts the
filename to the system locale, and those characters are lost (they are
replaced by "?"). I think it's time to port my program to Qt 4 and see
if this problem fixes.
--
Pepe
More information about the MPlayer-users
mailing list