diff options
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/codeconv.c | 4 | ||||
-rw-r--r-- | libsylph/codeconv.h | 6 |
2 files changed, 7 insertions, 3 deletions
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 |