summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/dprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/dprintf.c b/lib/util/dprintf.c
index a77eed84f5..376eb4c75e 100644
--- a/lib/util/dprintf.c
+++ b/lib/util/dprintf.c
@@ -48,7 +48,7 @@ static int d_vfprintf(FILE *f, const char *format, va_list ap)
if (ret <= 0) return ret;
- cret = convert_string_talloc(NULL, CH_UTF8, CH_DISPLAY, p, ret, (void **)&p2, &clen);
+ cret = convert_string_talloc(NULL, CH_UNIX, CH_DISPLAY, p, ret, (void **)&p2, &clen);
if (!cret) {
/* the string can't be converted - do the best we can,
filling in non-printing chars with '?' */