diff options
Diffstat (limited to 'jnlib/utf8conv.c')
-rw-r--r-- | jnlib/utf8conv.c | 7 |
1 files changed, 7 insertions, 0 deletions
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. */ |