On 7 Nov 2012, at 21:29, Gonzalo Garramuno wrote:

> scandir is the problem.  It works on some directories with accents and not on 
> others.  It seems it has problems on those directories that are fake in 
> Windows, as they are the translation of some other directory.  Example:  "My 
> videos" for "Mis vídeos".  If I create a directory "Mis vídeos" somewhere in 
> the filesystem, I can scandir it properly.


So... if I understand this correctly, then the problem only affects the "fake" 
directories, that is those whose names are "symlinks" to a real directory 
somewhere else, is that right?

If so, I wonder if the "fake" names are delivered in another format, different 
from the ones that are actually read from the file system?

For example; Perhaps they have already been converted from 
"whatever-wide-char-format Windows is using" into UTF8, and then we try to 
convert them again, or something?

Or maybe not, just speculation...

In any case, it sounds like, to work around this, we would need to be able to 
distinguish between which are the "real" directory names and the "fake" ones, 
and I have no ideas about how to sort that out!



_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to