aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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);