From 03dfa66b204ed6d2ae63b7667c8395753b4bb747 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 12 Apr 2007 01:49:31 +0000 Subject: supported ISO-8859-16. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1626 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 4 ++++ ChangeLog.ja | 4 ++++ libsylph/codeconv.c | 4 +++- libsylph/codeconv.h | 6 ++++-- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 28f97083..b28bb6db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-04-12 + + * libsylph/codeconv.[ch]: supported ISO-8859-16. + 2007-04-11 * src/query_search.c: query_search_folder(): flush summary mark/cache diff --git a/ChangeLog.ja b/ChangeLog.ja index d84ccce7..af16be46 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,7 @@ +2007-04-12 + + * libsylph/codeconv.[ch]: ISO-8859-16 に対応。 + 2007-04-11 * src/query_search.c: query_search_folder(): メッセージリストの diff --git a/libsylph/codeconv.c b/libsylph/codeconv.c index 2911aff7..13de2baf 100644 --- a/libsylph/codeconv.c +++ b/libsylph/codeconv.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2006 Hiroyuki Yamamoto + * Copyright (C) 1999-2007 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -1400,6 +1400,7 @@ CodeConvFunc conv_get_code_conv_func(const gchar *src_encoding, case C_ISO_8859_13: case C_ISO_8859_14: case C_ISO_8859_15: + case C_ISO_8859_16: break; case C_ISO_2022_JP: case C_ISO_2022_JP_2: @@ -1634,6 +1635,7 @@ static const struct { {C_WINDOWS_874, CS_WINDOWS_874}, {C_GEORGIAN_PS, CS_GEORGIAN_PS}, {C_TCVN5712_1, CS_TCVN5712_1}, + {C_ISO_8859_16, CS_ISO_8859_16}, }; static const struct { diff --git a/libsylph/codeconv.h b/libsylph/codeconv.h index 4e79389f..6e1391ab 100644 --- a/libsylph/codeconv.h +++ b/libsylph/codeconv.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2006 Hiroyuki Yamamoto + * Copyright (C) 1999-2007 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -91,7 +91,8 @@ typedef enum C_TIS_620, C_WINDOWS_874, C_GEORGIAN_PS, - C_TCVN5712_1 + C_TCVN5712_1, + C_ISO_8859_16 } CharSet; typedef gchar *(*CodeConvFunc) (const gchar *inbuf, gint *error); @@ -171,6 +172,7 @@ struct _CodeConverter #define CS_WINDOWS_874 "Windows-874" #define CS_GEORGIAN_PS "GEORGIAN-PS" #define CS_TCVN5712_1 "TCVN5712-1" +#define CS_ISO_8859_16 "ISO-8859-16" #define C_INTERNAL C_UTF_8 #define CS_INTERNAL CS_UTF_8 -- cgit v1.2.3