aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-config-druid.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e102cbeff6..7f47a26125 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -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öf (NOT "Petter Sundl_" :)
+
2001-04-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_set_pgp_type): Use a CamelPgpType.
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);