[Mono-list] How to support Unicode environment in Mono 0.17?
Gonzalo Paniagua Javier
gonzalo@ximian.com
17 Dec 2002 16:18:57 +0100
--=-/DRSkQZ5t31FXPUR50/n
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
La, la, la... Forgot the attachment. Here it is.
--=-/DRSkQZ5t31FXPUR50/n
Content-Disposition: attachment; filename=getenc.c
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-c; name=getenc.c; charset=ISO-8859-1
#include <glib.h>
#include <locale.h>
int
main ()
{
const gchar *buffer;
setlocale (LC_ALL, "");
=09
g_print ("%d\n", g_get_charset (&buffer));
g_print ("%s\n", buffer);
return 0;
}
--=-/DRSkQZ5t31FXPUR50/n--