From 2a47b946a59bdfe4bfefb136fe0f7475add03bb2 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 25 Feb 2005 10:00:41 +0000 Subject: 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 --- src/codeconv.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/codeconv.h') 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, -- cgit v1.2.3