On Mon, Mar 27, 2017 at 05:05:47PM +0200, Jean-Marc Lasgouttes wrote: > > Enrico, can you please double check the changes in os_win32.cpp and > os_cygwin.cpp ? I cannot even compile this code.
They are fine and compile Ok. However, that cygwin code is from the time when cygwin was using the same encoding as windows. This is not so anymore since the switch to unicode and utf8. As the path is being passed to a native windows function, it needs proper conversion. I'll have a look. Anyway, this not so harmful as the path refers to a file in the lyx temporary directory, which normally is under /tmp, and lyx mangles the paths so that they are ascii. However, someone could change the temp dir to /tmp/ληχτεμπ, and this would be a problem. -- Enrico