[Mono-list] System.IO.Directory.GetFiles does not return all files

martin.ernbo@kentor.se martin.ernbo@kentor.se
Fri, 4 Jun 2004 14:25:08 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C44A3F.BCA5BCF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello!

I'm porting an asp.net application to run under mono on linux =
(Mandrake). The porting has been pretty painless up until now.

When I use System.IO.Directory.GetFiles to get a listing of all files in =
a specific directory I do not get all files in return. All files with =
filenames containing swedish letters are left out. Linux itself handles =
them perfectly, I can search for the files, browse for them and look at =
them (they are image files...). When run under .NET the application =
behaves perfectly.

Has anybody seen this behaivour before? Is it a known issue?

Regards

/Martin
------=_NextPart_000_001C_01C44A3F.BCA5BCF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm porting an asp.net application to =
run under=20
mono on linux (Mandrake). The porting&nbsp;has been pretty painless up =
until=20
now.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I use <FONT=20
size=3D2>System.IO.Directory.GetFiles to get a listing of all files in a =
specific=20
directory I do not get all files in return. All files with filenames =
containing=20
swedish letters are left out. Linux itself handles them perfectly, I can =
search=20
for the files, browse for them and look at them (they are image =
files...). When=20
run under .NET the application behaves perfectly.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Has anybody seen this behaivour before? =
Is it a=20
known issue?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/Martin</FONT></DIV></BODY></HTML>

------=_NextPart_000_001C_01C44A3F.BCA5BCF0--