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

List:       pykde
Subject:    Re: [PyQt] pyrcc4, windows and locales
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2012-08-12 11:18:32
Message-ID: 1e1ec8589323747cdda3e138ba8e94f9 () localhost
[Download RAW message or body]

On Tue, 7 Aug 2012 12:56:54 -0400, Virgil Dupras <hsoft@hardcoded.net>
wrote:
> Hi,
> 
> This morning, I've stumbled upon what I think is a bug in pyrcc4. When I
> run it on a windows machine with a french locale, the timestamp in the
> resulting file's comment will contain an accented character (August in
> french is "Août") and that accented character will be in the wrong
> encoding. Python 3.2.3 doesn't complain when I run the app "straight",
but
> when I run cx_freeze on it, I get an UnicodeDecodeError and I can't
> continue.
> 
> I've worked around the problem by post-processing the resource file and
> stripping all comments.

Hopefully fixed in the current snapshot. If not then send me a copy of the
generated .py file.

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