[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/src |
Date: |
Fri, 10 Dec 2004 21:51:13 +0100 |
Update of /home/cvs/gsasl/src
In directory dopio:/tmp/cvs-serv11562
Modified Files:
callbacks.c
Log Message:
Use iconvme instead libidn.
--- /home/cvs/gsasl/src/callbacks.c 2004/11/30 02:16:54 1.32
+++ /home/cvs/gsasl/src/callbacks.c 2004/12/10 20:51:13 1.33
@@ -28,12 +28,16 @@
extern char *readline (const char *prompt);
#endif
+#include "iconvme.h"
+
static char *
locale_to_utf8 (char *str)
{
+#if HAVE_LANGINFO_CODESET
if (str)
{
- char *q = stringprep_locale_to_utf8 (str);
+ char *from = nl_langinfo (CODESET);
+ char *q = iconv_z (from, "UTF-8", str);
if (!q)
fprintf (stderr, "warning: Could not convert string to UTF-8...\n");
else
@@ -42,6 +46,7 @@
str = q;
}
}
+#endif
return str;
}
- CVS gsasl/src, gsasl-commit, 2004/12/10
- CVS gsasl/src,
gsasl-commit <=
- CVS gsasl/src, gsasl-commit, 2004/12/10
- CVS gsasl/src, gsasl-commit, 2004/12/10
- CVS gsasl/src, gsasl-commit, 2004/12/14
- CVS gsasl/src, gsasl-commit, 2004/12/19
- CVS gsasl/src, gsasl-commit, 2004/12/19
- CVS gsasl/src, gsasl-commit, 2004/12/19
- CVS gsasl/src, gsasl-commit, 2004/12/21
- CVS gsasl/src, gsasl-commit, 2004/12/21
- CVS gsasl/src, gsasl-commit, 2004/12/26