aboutsummaryrefslogtreecommitdiffstats
path: root/nick.c
diff options
context:
space:
mode:
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, '_' );