aboutsummaryrefslogtreecommitdiffstats
path: root/nick.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-10-09 11:41:19 -0700
committerWilmer van der Gaast <wilmer@gaast.net>2010-10-09 11:41:19 -0700
commit619770237590e4a760346f2e12681d7e2220dda4 (patch)
tree8d0d391407280ab74e1fc876d6f272110b474897 /nick.c
parent23b29c67968f3dd39e7d6970acc5669556f4c8b9 (diff)
parent27b407fde1844a0e03f1a9d92d2a1c4a40435f9b (diff)
Merging OTR branch. It's more or less a plugin if you enable it, and
otherwise a no-op. DO NOT INSTALL THIS ON PUBLIC SERVERS.
Diffstat (limited to 'nick.c')
-rw-r--r--nick.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nick.c b/nick.c
index 15c07995..92d4c258 100644
--- a/nick.c
+++ b/nick.c
@@ -195,8 +195,8 @@ char *nick_gen( bee_user_t *bu )
accents don't just get stripped. Note that it depends on
LC_CTYPE being set to something other than C/POSIX. */
if( part )
- part = asc = g_convert( part, -1, "ASCII//TRANSLIT//IGNORE",
- "UTF-8", NULL, NULL, NULL );
+ part = asc = g_convert_with_fallback( part, -1, "ASCII//TRANSLIT",
+ "UTF-8", "", NULL, NULL, NULL );
if( ret->len == 0 && part && isdigit( *part ) )
g_string_append_c( ret, '_' );