diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-02-25 10:00:41 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-02-25 10:00:41 +0000 |
commit | 2a47b946a59bdfe4bfefb136fe0f7475add03bb2 (patch) | |
tree | b61928ab31b3c6c6578f13f6d46fe73a9df5e83e /src/codeconv.h | |
parent | 19a51bbe411d98970bcebcec1e559d60b02899b0 (diff) |
output printing text with locale encoding, and removed broken locale specific HTML entity reference conversion.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@129 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/codeconv.h')
-rw-r--r-- | src/codeconv.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/codeconv.h b/src/codeconv.h index 33dc2c1d..89155d7a 100644 --- a/src/codeconv.h +++ b/src/codeconv.h @@ -97,8 +97,8 @@ typedef void (*CodeConvFunc) (gchar *outbuf, gint outlen, const gchar *inbuf); struct _CodeConverter { CodeConvFunc code_conv_func; - gchar *charset_str; - CharSet charset; + gchar *src_encoding; + gchar *dest_encoding; }; #define CS_AUTO "AUTO" @@ -176,7 +176,8 @@ CharSet conv_guess_ja_encoding(const gchar *str); void conv_utf8todisp (gchar *outbuf, gint outlen, const gchar *inbuf); void conv_localetodisp (gchar *outbuf, gint outlen, const gchar *inbuf); -CodeConverter *conv_code_converter_new (const gchar *src_charset); +CodeConverter *conv_code_converter_new (const gchar *src_encoding, + const gchar *dest_encoding); void conv_code_converter_destroy (CodeConverter *conv); gint conv_convert (CodeConverter *conv, gchar *outbuf, |