On Tue, Dec 05, 2006 at 09:41:15PM +0100, Georg Baum wrote: > Am Dienstag, 5. Dezember 2006 19:03 schrieb Enrico Forestieri: > > > I can only speak for Cygwin. I don't know for Windows in general, but > > I think that it is also dependent on the filesystem (FAT32 or NTFS). > > I had the hope that it was better as on linux, but if this is true it seems > to be even worse :-(
It seems that MS doesn't care about standards (what a surprise): http://blogs.msdn.com/michkap/archive/2006/09/10/748699.aspx You may also find a worth reading here (it mentions Windows FS, too): http://developers.sun.com/techtopics/global/products_platforms/solaris/reference/presentations/IUC29-FileSystems.pdf > > As regards Cygwin, it does not use wide characters internally for > > filenames/pathnames, nor does it support any locale other than C/POSIX. > > However, this last one is only half-true, as Cygwin works with the > > default codepage when the Windows locale settings are set correctly. > > Locales cannot be programmatically switched from within Cygwin, but > > it can handle the full 8-bit charset just fine. > > So that means if we convertz to the encoding of the currently set windows > locale it will work? That would be doable. I think this is what the Qt QString::toLocal8Bit() does. -- Enrico