[PyQt] Fwd: pyqt5-dev-tools: does not support unicode properly

Phil Thompson phil at riverbankcomputing.com
Mon Jun 1 09:26:58 BST 2015


On 01/06/2015 5:15 am, Dimitrios Glentadakis wrote:
> Also i'd like to inform for this which maybe has something to do with
> the current discussion:
> 
> the self.tr('Jürgen')
> gives in the ts file:
> <source>J&#xc3;&#xbc;rgen
> <translation>Jürgen
> 
> translate('Jürgen') or self.trUtf8('Jürgen')
> give the right coding

trUtf8() isn't in PyQt5.

If you think pylupdate is part of the problem then please supply a 
*complete* example that demonstrates the problem.

Phil


More information about the PyQt mailing list