[Mono-devel-list] Re: patch for: Non ASCII characters infilenames/ command line parameters

Gaute B Strokkenes biggaute at uwc.net
Tue Oct 21 06:08:38 EDT 2003


On 21 okt 2003, joergr at voelcker.com wrote:

> If it's not possible to change this behaviour entirely, how about
> using an environment variable to change behaviour from default
> (UTF8) to current locale encoding of filenames?

G_BROKEN_FILENAMES is what GTK uses these days.

Viz.  <http://www.gtk.org/gtk-2.2.0-notes.html>:

* The assumption of GLib and GTK+ by default is that filenames on the
  filesystem are encoded in UTF-8 rather than the encoding of the locale;
  The GTK+ developers consider that having filenames whose interpretation
  depends on the current locale is fundamentally a bad idea.

  If you have filenames encoded in the encoding of your locale, then
  you may want to set the G_BROKEN_FILENAMES environment variable:
  
   G_BROKEN_FILENAMES=1
   export G_BROKEN_FILENAMES

  Best integration of GTK+-2.2 with the environment is achieved by 
  using a UTF-8 locale.

-- 
Gaute Strokkenes                        http://www.srcf.ucam.org/~gs234/
HUMAN REPLICAS are inserted into VATS of NUTRITIONAL YEAST...



More information about the Mono-devel-list mailing list