commit 5b959033d2167ffbef7eaf70d561eb23fcde803c
Author: Richard Kimberly Heck <[email protected]>
Date:   Mon Feb 25 21:56:40 2019 -0500

    Fix bad error message (bug 11486).
---
 src/Buffer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index dc35734..a7e5d5e 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;

Reply via email to