Try this:

foo.pro:
=========================
CODECFORTR = UTF-8
CODECFORSRC = UTF-8

SOURCES =  foo.py
=========================

foo.py:
=======================
print 'Dir: ',timeme('foobar', 'barfoo')
=======================

pylupdate4 gives an "unterminated string" error.

Also, it looks like the CODECFORSRC declaration brings it to its knee: it becomes abysmally slow, compared to the normal processing mode (or there's another infinite loop bug which needs to be fixed...).

BTW, I wonder: am I the first one that wants to use pylupdate with UTF-8 source Python files? What do other people do?
--
Giovanni Bajo

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to