[Mono-list] Iconv error

Piers Haken piersh@friskit.com
Tue, 9 Jul 2002 16:35:16 -0700


I'm getting the following error when running anything on mono:

** (process:2268): WARNING **: unhandled exception
System.NullReferenceException: "A null value was found where an object
instance was required"
in (unmanaged) System.Text.Encoding:IConvNewDecoder ()
in <0x00018> System.Text.IConvDecoder:.ctor (string,bool)
in <0x00095> System.Text.Encoding:.ctor (string,bool)
in <0x00017> System.Text.UTF8Encoding:.ctor ()
in <0x00035> System.Text.Encoding:get_UTF8 ()
in <0x00007> System.IO.StreamWriter:.ctor (System.IO.Stream)
in <0x0005a> System.Console:.cctor ()

I'm using the libiconv-1.7 from the gimp site:

[/usr/local/lib]:ls -l *iconv*
-rwxr-xr-x    1 Administ None       843776 Nov  5  2001 iconv.dll
-rw-r--r--    1 Administ None         2650 Sep  1  2001 iconv.lib
-rw-r--r--    1 Administ None         2650 Sep  1  2001 libiconv.a

Any ideas what's up?
Piers.