Convert the result of g_get_real_name() from the locale charset to UTF8.
* mail-config-druid.c (make_default_account): Convert the result of g_get_real_name() from the locale charset to UTF8. Noted by Petter Sundlöf (NOT "Petter Sundl_" :) svn path=/trunk/; revision=9481
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2001-04-20 Dan Winship <danw@ximian.com>
|
||||
|
||||
* mail-config-druid.c (make_default_account): Convert the result
|
||||
of g_get_real_name() from the locale charset to UTF8. Noted by
|
||||
Petter Sundl<64>f (NOT "Petter Sundl_" :)
|
||||
|
||||
2001-04-20 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* mail-config.c (mail_config_set_pgp_type): Use a CamelPgpType.
|
||||
|
||||
@ -370,7 +370,7 @@ make_default_account (void)
|
||||
|
||||
account->id = g_new0 (MailConfigIdentity, 1);
|
||||
name = g_get_real_name ();
|
||||
account->id->name = g_strdup (name);
|
||||
account->id->name = e_utf8_from_locale_string (name);
|
||||
user = getenv ("USER");
|
||||
if (user && !uname (&uts) && strchr (uts.nodename, '.'))
|
||||
account->id->address = g_strdup_printf ("%s@%s", user, uts.nodename);
|
||||
|
||||
Reference in New Issue
Block a user