On Wednesday, 29 March 2017 18.24.26 WEST Enrico Forestieri wrote: > On Wed, Mar 29, 2017 at 02:41:23PM +0100, José Abílio Matos wrote: > > OK, I committed a change that should fix this problem. > > I hope so ;)
When dealing with windows I always hope, after all hope is the last to die. :-) > C:\python>python > Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] > on win32 Type "help", "copyright", "credits" or "license" for more > information. > >>> import locale > >>> locale.getdefaultlocale() > > ('it_IT', 'cp1252') > > >>> import sys > >>> sys.getfilesystemencoding() > > 'mbcs' > > Hm? multi-byte character set, I suspect that it means UTF-16 and not UCS2. :-) > > Looking into that function I find it strange that we have to change the > > path separators if it is windows... I would expect this to be > > unnecessary... > No, it is necessary because the path is going to be used in a latex file. OK, that makes sense. > > I hope that this works. > > Let's see... I am a man of faith. -- José Abílio