/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2009 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
*
* 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
#define __CODECONV_H__
#ifdef HAVE_CONFIG_H
-# include "config.h"
+#include "claws-features.h"
#endif
#include <glib.h>
C_WINDOWS_1257,
C_WINDOWS_1258,
C_KOI8_R,
+ C_MACCYR,
C_KOI8_T,
C_KOI8_U,
C_ISO_2022_JP,
#define CS_ISO_8859_6 "ISO-8859-6"
#define CS_ISO_8859_7 "ISO-8859-7"
#define CS_ISO_8859_8 "ISO-8859-8"
+#define CS_ISO_8859_8_I "ISO-8859-8-I"
#define CS_ISO_8859_9 "ISO-8859-9"
#define CS_ISO_8859_10 "ISO-8859-10"
#define CS_ISO_8859_11 "ISO-8859-11"
#define CS_WINDOWS_1257 "Windows-1257"
#define CS_WINDOWS_1258 "Windows-1258"
#define CS_KOI8_R "KOI8-R"
+#define CS_X_MACCYR "x-mac-cyrillic"
+#define CS_MACCYR "Mac-Cyrillic"
#define CS_KOI8_T "KOI8-T"
#define CS_KOI8_U "KOI8-U"
#define CS_ISO_2022_JP "ISO-2022-JP"
#define CS_WINDOWS_874 "Windows-874"
#define CS_GEORGIAN_PS "GEORGIAN-PS"
#define CS_TCVN5712_1 "TCVN5712-1"
+#define CS_X_VIET_VPS "X-VIET-VPS"
#define C_INTERNAL C_UTF_8
#define CS_INTERNAL CS_UTF_8
const gchar *conv_get_current_locale (void);
gchar *conv_unmime_header (const gchar *str,
- const gchar *default_encoding);
+ const gchar *default_encoding,
+ gboolean addr_field);
void conv_encode_header (gchar *dest,
gint len,
const gchar *src,