[Mono-list] GetDirectories, glob, and high ACSII characters

Gonzalo Paniagua Javier gonzalo@ximian.com
10 Mar 2003 19:26:32 +0100


El lun, 10 de 03 de 2003 a las 18:59, Elan Feingold escribió:
> If I set a LC_CTYPE, say to "C", the files make their way past
> fnmatch(), but then there's a crash in FindNextFile(), where it tries to
> convert g_utf8_to_utf16 and fails (perhaps because the input isn't
> UTF8?). I tried adding a call to g_locale_to_utf8() but this failed as
> well.

We have this bug http://bugzilla.ximian.com/show_bug.cgi?id=30781
related to that problem.

> Help!!!! Can someone else shed some light on this? Easy to reproduce,
> just create a directory with an accented character, and then run this
> source.
> 
> What is my LC_CTYPE and other locale environment variables supposed to
> be set to?

I only set LC_ALL=es_ES or LC_ALL=C

-Gonzalo