[Mono-devel-list] RE: patch for: Non ASCIIcharactersinfilenames/ command line parameters

Jörg Rosenkranz joergr at voelcker.com
Tue Oct 28 03:03:29 EST 2003


Hello Dick,

> -----Original Message-----
> From: Dick Porter [mailto:dick at ximian.com] 
> Sent: Saturday, October 25, 2003 2:53 PM
> 
> Try this patch.  If it does what you need, then I will commit it.
> 
> This will make mono default to reading and writing UTF8 strings, but
> will consult the colon-separated list held in MONO_EXTERNAL_ENCODINGS
> for fallback encodings when reading cmdline args and directories, and
> creating files.  The items in MONO_EXTERNAL_ENCODINGS should be
> identifiers known to iconv (via glib), or the special case
> "default_encoding" which will use the locale's encoding.  The first
> encoding that can be successfully turned into utf8 or utf16 stops the
> search.
> 

Thank you for the patch!

After some struggles with patch I managed to apply it. It seems to 
work for us. There may be a little problem calling external programs
with non ASCII commandline parameters. I try to research that.

Jörg.



More information about the Mono-devel-list mailing list