From 3c351d0232d39e8496bd6a06abf0640896352aea Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 May 2007 09:22:18 +0000 Subject: UTF-8 Fixes --- jnlib/utf8conv.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'jnlib/utf8conv.c') diff --git a/jnlib/utf8conv.c b/jnlib/utf8conv.c index 9a2a98b3b..d7c0d44ba 100644 --- a/jnlib/utf8conv.c +++ b/jnlib/utf8conv.c @@ -256,6 +256,13 @@ get_native_charset () return active_charset_name; } +/* Return true if the native charset is utf-8. */ +int +is_native_utf8 (void) +{ + return no_translation; +} + /* Convert string, which is in native encoding to UTF8 and return a new allocated UTF-8 string. */ -- cgit v1.2.3