aboutsummaryrefslogtreecommitdiff
path: root/src/codeconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/codeconv.c')
-rw-r--r--src/codeconv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/codeconv.c b/src/codeconv.c
index 28659b2f..0b73d900 100644
--- a/src/codeconv.c
+++ b/src/codeconv.c
@@ -782,6 +782,11 @@ void conv_euctodisp(gchar *outbuf, gint outlen, const gchar *inbuf)
conv_euctoutf8(outbuf, outlen, inbuf);
}
+void conv_utf8todisp(gchar *outbuf, gint outlen, const gchar *inbuf)
+{
+ strncpy2(outbuf, inbuf, outlen);
+}
+
void conv_anytodisp(gchar *outbuf, gint outlen, const gchar *inbuf)
{
conv_anytoutf8(outbuf, outlen, inbuf);