aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/mltop.ml
diff options
context:
space:
mode:
Diffstat (limited to 'vernac/mltop.ml')
-rw-r--r--vernac/mltop.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/vernac/mltop.ml b/vernac/mltop.ml
index e8a0ba3dd..8ec85688c 100644
--- a/vernac/mltop.ml
+++ b/vernac/mltop.ml
@@ -175,6 +175,7 @@ let warn_cannot_use_directory =
let convert_string d =
try Names.Id.of_string d
with UserError _ ->
+ let d = Unicode.escaped_if_non_utf8 d in
warn_cannot_use_directory d;
raise Exit