aboutsummaryrefslogtreecommitdiff
path: root/src/textview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textview.c')
-rw-r--r--src/textview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textview.c b/src/textview.c
index da860bfe..2d5f6754 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2004 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2005 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -941,7 +941,7 @@ static void textview_write_line(TextView *textview, const gchar *str,
if (!conv)
strncpy2(buf, str, sizeof(buf));
else if (conv_convert(conv, buf, sizeof(buf), str) < 0)
- conv_localetodisp(buf, sizeof(buf), str);
+ conv_utf8todisp(buf, sizeof(buf), str);
strcrchomp(buf);
//if (prefs_common.conv_mb_alnum) conv_mb_alnum(buf);
@@ -997,7 +997,7 @@ void textview_write_link(TextView *textview, const gchar *str,
if (!conv)
strncpy2(buf, str, sizeof(buf));
else if (conv_convert(conv, buf, sizeof(buf), str) < 0)
- conv_localetodisp(buf, sizeof(buf), str);
+ conv_utf8todisp(buf, sizeof(buf), str);
strcrchomp(buf);