diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-10-09 11:41:19 -0700 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-10-09 11:41:19 -0700 | 
| commit | 619770237590e4a760346f2e12681d7e2220dda4 (patch) | |
| tree | 8d0d391407280ab74e1fc876d6f272110b474897 /nick.c | |
| parent | 23b29c67968f3dd39e7d6970acc5669556f4c8b9 (diff) | |
| parent | 27b407fde1844a0e03f1a9d92d2a1c4a40435f9b (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.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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, '_' ); | 
