aboutsummaryrefslogtreecommitdiffstats
path: root/util/strgutil.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-03-02 15:48:37 +0000
committerWerner Koch <[email protected]>1999-03-02 15:48:37 +0000
commit20bb42bfe79acde270c645ab9fcb788c53934345 (patch)
treee8843408f17aaba22c21261063001d509c34778a /util/strgutil.c
parentSee ChangeLog: Tue Mar 2 10:38:42 CET 1999 Werner Koch (diff)
downloadgnupg-20bb42bfe79acde270c645ab9fcb788c53934345.tar.gz
gnupg-20bb42bfe79acde270c645ab9fcb788c53934345.zip
See ChangeLog: Tue Mar 2 16:44:57 CET 1999 Werner Koch
Diffstat (limited to '')
-rw-r--r--util/strgutil.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/strgutil.c b/util/strgutil.c
index cbedcf39e..79b93318f 100644
--- a/util/strgutil.c
+++ b/util/strgutil.c
@@ -244,6 +244,12 @@ set_native_charset( const char *newset )
return 0;
}
+const char*
+get_native_charset()
+{
+ return use_koi8? "koi8-r" : "iso-8859-1";
+}
+
/****************
* Convert string, which is in native encoding to UTF8 and return the
* new allocated UTF8 string.