[Mono-bugs] [Bug 60120][Nor] Changed - DirectoryInfo.GetFiles skips files with invalid UTF-8

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 15 Jun 2004 07:05:45 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by aleis959@student.liu.se.

http://bugzilla.ximian.com/show_bug.cgi?id=60120

--- shadow/60120	2004-06-14 08:51:29.000000000 -0400
+++ shadow/60120.tmp.3363	2004-06-15 07:05:44.000000000 -0400
@@ -40,6 +40,29 @@
 remember). It's turning annoying so I'm gonna try to make this work
 even for improper UTF8 files.... I already have something, but won't
 commit until beta3 is out and I do more testing.
 
 ------- Additional Comments From dick@ximian.com  2004-06-14 08:51 -------
 Don't commit a nasty hack...
+
+------- Additional Comments From aleis959@student.liu.se  2004-06-15 07:05 -------
+I have setup a small directory structure to reproduce this bug as I'm
+having trouble with muine:
+
+ .
+ |-- Album 1
+ |   |-- Song 1-1.mp3
+ |   `-- Song 1-2 öäåÖÄÅ.mp3
+ `-- Album 2 öäåÖÄÅ
+     |-- Song 2-1.mp3
+     `-- Song 2-2 öäåÖÄÅ.mp3
+ 
+ It is available for download here (11Mb):
+ http://isacson.dyndns.info/files/alexander/muine-test.zip
+ 
+When I import it the only song found is Song 1-1.mp3. The file is a
+free 50 Cent mp3 I found on amazon. I have these to variables set:
+
+export G_BROKEN_FILENAMES
+export LC_CTYPE="sv_SE"
+
+I hope this helps.