windows preview bug fix

Idan Pazi idan.kp at gmail.com
Sat Feb 24 11:17:56 UTC 2024


I have sys.flags.utf8_mode = 0.
I assume everything is utf8, but I don't think the problem is about finding the right encoding.
win32file.ReadFile returns bytes, which cannot be added (+) to a string (see data = "" at line 162). 
Assume that on some cases it returns a string, then this patch won't change a thing.

BTW, I think it is possible to use only python Popen on windows without using pywin32 library.
would you consider to look at a patch doing that?

Thank you, Idan


More information about the lyx-devel mailing list