[Mono-bugs] [PROBLEM] Accentuated filenames cannot be read

László Monda mondalaci at gmail.com
Thu Oct 20 14:20:32 EDT 2005


Hi List,

I have problems with reading the filenames of a directory.  Filenames
that have accents in their names cannot be read.  As far as I know
there are two basic ways of listing the contents of directories and
these are using the following methods:

System.IO.Directory.GetFileSystemEntries(string): string[]
Mono.Unix.UnixDirectory.GetEntries(string): Dirent[]

However reading accentuated filenames doesn't work properly in either cases.

In case of GetFileSystemEntries(), it only returns the filenames that
don't have accents in their names.

In case of GetEntries(), it returns all of the filename entries in the
directory, but those that have accent(s) in their names have empty
filename string.

I'm using Mono 1.1.9.1 currently.  Is there any chance that I've found
a bug or is just my system misconfigured in some way?

Please CC: me, I'm not on the list.

Thanks in advance.

--
Laci

    Blog: http://monda.hu/~laci/blog
    Home: http://mondalaci.objectis.net


More information about the mono-bugs mailing list