[Mono-dev] Character encoding issues on Linux -> Iconv usage on windows.
mike at jerris.com
Thu May 17 14:04:40 EDT 2007
I have been looking at the iconv usage on windows (specifically in
reference to the need to implement g_convert in eglib. If I trace the
calls right, g_convert is only used in g_locale_to_utf8 and
g_locale_from_utf8, which is in turn only used in,
mono_unicode_to_external and mono_unicode_from_external
(mono/utils/strenc.c), which in turn is only used in
and ProtectUser and Protect (all from mono/metadata/security.c) and all
of which are explicitly ifdefed off for windows, and in
mono_runtime_run_main (mono/metadata/object.c) which actually does use
So, my question is. On windows, is there a way that we can otherwise
implement what is needed in mono_runtime_run_main for
mono_utf8_from_external to use the other character set conversion code
so that we can remove the libiconv dependency on windows?
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> bounces at lists.ximian.com] On Behalf Of Miguel de Icaza
> Sent: Thursday, May 17, 2007 11:07 AM
> To: Jeffrey Stedfast
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] Character encoding issues on Linux
> > As far as I know, Mono depends on libiconv (as either a standalone
> > package or built into glibc - which is the case on Linux systems
> > for charset conversion.
> Mono only uses iconv for filename mapping, for all other we use our
> character set conversion code (see class/I18N).
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list