Thanks Jonathan.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 behavior.
See: http://bugzilla.ximian.com/show_bug.cgi?id=30781 http://bugzilla.gnome.org/show_bug.cgi?id=93751
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:
export G_BROKEN_FILENAMES=1 export LC_ALL=no_NO.ISO-8859-1 run application..
This is what they describe in the bug as beeing necessary in order for it to work; however the exception still stands.
<exception>
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 (intptr,System.IO.MonoIOStat&,System.IO.MonoIOError&)
</exception>
-- �yvind Hvamstad (ISO-8859-1) http://me.digidix.com
Things should be made as simple as possible,
but not any simpler.
-- Albert Einstein
_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
