[Mono-list] Non ASCII characters in file names

Dick Porter dick@ximian.com
15 Sep 2003 15:07:04 +0100


On Thu, 2003-09-11 at 02:19, Jonathan Pryor wrote:
> The short answer is: Mono uses glib, which assumes that everything is in
> UTF-8.  The filename you're seeing is likely a valid UTF-8 string; view
> it in Nautilus or Rox and see if it looks right. :-)
> 
> 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  (to 1 -- export G_BROKEN_FILENAMES=1).

I think this is the correct diagnosis, but the G_BROKEN_FILENAMES wont
make any difference.  (It just tells the file handling functions to use
the locale charset not utf8 when reading filenames from the system.)

- Dick