aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-21 07:05:36 +0800
committerDan Winship <danw@src.gnome.org>2001-04-21 07:05:36 +0800
commitc4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f (patch)
treeb59f2a777752af09ca73888c555b0f6483b408bc /mail/mail-config-druid.c
parent986252ceaf4239d36294d90e75c6acd305e06dfa (diff)
downloadgsoc2013-evolution-c4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f.tar
gsoc2013-evolution-c4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f.tar.gz
gsoc2013-evolution-c4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f.tar.bz2
gsoc2013-evolution-c4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f.tar.lz
gsoc2013-evolution-c4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f.tar.xz
gsoc2013-evolution-c4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f.tar.zst
gsoc2013-evolution-c4a26fef3d2fe1f5fb3ff4cce0153c27eb21b45f.zip
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
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index c6d386507f..7663fee09b 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -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);