[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pylupdate patch for UTF-8 support
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2007-06-30 14:58:01
Message-ID: 200706301558.01049.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Tuesday 26 June 2007 5:42 pm, Giovanni Bajo wrote:
> Hi,
>
> this patch is needed for me to be able to correctly run pylupdate over
> Python UTF-8 source code, containing UTF-8 literal strings.
>
> The code uses self.tr() instead of self.trUtf8() and changes the
> defaultCodecForTr to UTF-8 at startup. This is Trolltech's recommended
> way to avoid using trUtf8 explicitly all over the code.

Then why doesn't lupdate do the same thing?

> Also, I noted that pylupdate diverged from Trolltech's lupdate by a fair
> amount. Are there plans to resync it?

Not from me.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic