> On 11/03/12 18:26, Gonzalo Garramuno wrote: > > I am working on windows and fltk2.0's filename_list returns 0 elements > > when the directory is unicode like: > > > > C:/Users/gga/Documents/Mis vâ¡deos/ > > > > I checked the fltk code and the scandir of windows it seems it should work > > fine, > > but it doesn't. > > Do you find the regular C library functions aren't working correctly > with the filenames? eg. scandir()/opendir()/readdir()? > 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.
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

