[Mono-list] Traversing directories
Mon, 16 Jun 2003 14:05:02 +0200
Jonathan Pryor wrote:
>Encoding is a tricky subject. At this point, mono uses glib, which
>assumes that all filenames are encoded as UTF-8 strings. This is an
>invalid assumption for your environment, resulting in bizarre program
>The fix is (should be?) to set the G_BROKEN_FILENAMES environment
>variable (presumably to an empty string -- export G_BROKEN_FILENAMES=""
>-- but this isn't clear from the above bug reports).
> - Jon
I try the following:
This is what they describe in the bug as beeing necessary in order for
it to work; however the exception still stands.
Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in (unmanaged) /usr/lib/libmono.so.0 [0x400d480b]
in (unmanaged) /usr/lib/libmono.so.0 [0x400a658e]
in <0x0002e> 06 System.IO.MonoIO:FindNextFile
Řyvind Hvamstad (ISO-8859-1)
Things should be made as simple as possible,
but not any simpler.
-- Albert Einstein