aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
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 'util')
-rw-r--r--util/ChangeLog4
-rw-r--r--util/strgutil.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index c11327ddd..462d4c60c 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 2 16:44:57 CET 1999 Werner Koch <[email protected]>
+
+ * strgutil.c (get_native_charset): New.
+
Fri Feb 26 17:55:41 CET 1999 Werner Koch <[email protected]>
* secmem.c (memblock_struct): Force align (R�mi Guyomarch)
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.