From 5b959033d2167ffbef7eaf70d561eb23fcde803c Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Mon, 25 Feb 2019 21:56:40 -0500 Subject: [PATCH] Fix bad error message (bug 11486). --- src/Buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index dc35734f6c..a7e5d5ec21 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4529,7 +4529,7 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir bformat(_("The directory path to the document\n%1$s\n" "contains spaces, but your TeX installation does " "not allow them. You should save the file to a directory " - "whose name does not contain spaces."), from_ascii(filePath()))); + "whose name does not contain spaces."), from_utf8(filePath()))); return ExportTexPathHasSpaces; } else { runparams.nice = false; -- 2.39.2