aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/mltop.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-10-05 18:49:12 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-10-05 18:49:12 +0200
commit73620255a7a62703a89026336f97a4bc8a913afd (patch)
tree0b28d62d27b3fe6e94a07845ca8900cc9b3c9a71 /vernac/mltop.ml
parentf78a39499ef210456dd96ecb9896874c9ce300ae (diff)
parenta47a249e8c31dece9b816bc49d6c5a2aa50fb21b (diff)
Merge PR #1041: Miscellaneous fixes about UTF-8 (including a fix to BZ#5715 to escape non-UTF-8 file names)
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 1edbd1a85..d3de10235 100644
--- a/vernac/mltop.ml
+++ b/vernac/mltop.ml
@@ -174,6 +174,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