aboutsummaryrefslogtreecommitdiff
path: root/bbot
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-07-27 16:22:41 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-29 15:10:53 +0200
commitdce44ca210a4fea8879efa731d3691a34ebbe984 (patch)
tree6abe38bec0b5083db1b7582948fe0057fdf12508 /bbot
parentc080e2458b4e4129e9cba8ce79582744fc66b51c (diff)
Fix command logs UTF-8-sanitization
Diffstat (limited to 'bbot')
-rw-r--r--bbot/worker/worker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index e436fa1..81204bd 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -152,7 +152,7 @@ run_cmd (tracer& t,
text << s;
}
- to_utf8 (s, '?');
+ to_utf8 (s, '?', codepoint_types::graphic, U"\n\r\t");
log += s;
log += '\n';