pylupdate5 cause UnicodeEncodeError: 'latin-1' codec can't encode

Kyle Altendorf sda at fstab.net
Wed Jan 27 14:23:13 GMT 2021


https://github.com/altendky/pyqt-tools/issues/45

I haven't dug into this personally but figured I would share here.  It 
seems there may be a missing encode call in pylupdate5 relating to a 
file name.  I don't know if the suggestion of using a locale encoding is 
best or if it ought be fixed as UTF-8 or maybe use os.fsencode().  Or 
perhaps there's some other issue entirely...

Cheers,
-kyle


More information about the PyQt mailing list