diff options
author | Werner Koch <[email protected]> | 2007-05-04 09:22:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-05-04 09:22:18 +0000 |
commit | 3c351d0232d39e8496bd6a06abf0640896352aea (patch) | |
tree | afafa3eea6f93b7e78ec302749d097c3448a371f /jnlib/utf8conv.c | |
parent | * packet.h, mainproc.c (reset_literals_seen): New function to reset (diff) | |
download | gnupg-3c351d0232d39e8496bd6a06abf0640896352aea.tar.gz gnupg-3c351d0232d39e8496bd6a06abf0640896352aea.zip |
UTF-8 Fixes
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. */ |