[evolution-mapi] Bug #664626 - Missing KOI-8R codepage support (patch by Vladislav)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #664626 - Missing KOI-8R codepage support (patch by Vladislav)
- Date: Fri, 16 Dec 2011 10:25:54 +0000 (UTC)
commit b92840ad645412854e1667a7c7c258bd467afeb2
Author: Milan Crha <mcrha redhat com>
Date: Fri Dec 16 11:24:59 2011 +0100
Bug #664626 - Missing KOI-8R codepage support (patch by Vladislav)
src/libexchangemapi/e-mapi-mail-utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libexchangemapi/e-mapi-mail-utils.c b/src/libexchangemapi/e-mapi-mail-utils.c
index 5b69940..6e9b016 100644
--- a/src/libexchangemapi/e-mapi-mail-utils.c
+++ b/src/libexchangemapi/e-mapi-mail-utils.c
@@ -193,6 +193,8 @@ build_body_part_content (CamelMimePart *part, EMapiObject *object, uint32_t prop
if (cpid == 20127)
buff = g_strdup_printf ("%s; charset=\"us-ascii\"", type);
+ else if (cpid == 20866)
+ buff = g_strdup_printf ("%s; charset=\"koi8-r\"", type);
else if (cpid >= 28591 && cpid <= 28599)
buff = g_strdup_printf ("%s; charset=\"ISO-8859-%d\"", type, cpid % 10);
else if (cpid == 28603)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]