Unicode filenames on Windows
Scott Wheeler
wheeler at kde.org
Tue Nov 6 19:05:43 CET 2007
Lukáš Lalinský wrote:
> This is what I did in my personal branches, but I don't think it would
> be a good idea for TagLib. Filenames on UNIXes are considered binary, so
> representing them as unicode is not lossless. I think TagLib is
> low-level enough to be able to work with all possible filenames, only
> only the ones representable in Unicode.
>
> Besides, such change, even though binary compatible, wouldn't be
> functionally compatible.
That's why TagLib specifically uses char * for filenames rather than its
string class. Having been designed with only UNIX in mind so long as a
filename is always handled as a character array you can ignore locales.
-Scott
More information about the taglib-devel
mailing list