On Tue, Mar 28, 2017 at 11:51:23AM +0200, Jean-Marc Lasgouttes wrote: > Le 28/03/2017 à 11:01, Enrico Forestieri a écrit : > > Hmm. I must have done something wrong because toSafeFilesystemEncoding() > > actually works. The attached patch is required on native windows when > > the tempdir path has unicode characters. The change in Buffer.cpp is > > required for lyx2lyx. > > Thanks for taking care of this Enrico.
And I discovered what I was doing wrong. I was forgetting the argument os::CREATE for toSafeFilesystemEncoding() in doOpenFileWrite(). <blush> -- Enrico