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

Phil Thompson phil at riverbankcomputing.com
Thu Jan 28 17:54:54 GMT 2021


On 27/01/2021 14:23, Kyle Altendorf wrote:
> 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...

The suggested fix has been applied in the next snapshot.

Phil


More information about the PyQt mailing list