aboutsummaryrefslogtreecommitdiffstats
path: root/util/strgutil.c
diff options
context:
space:
mode:
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.