[PyQt] Can't load UI files under Turkish locale
ismail at pardus.org.tr
Fri Aug 10 19:52:30 BST 2007
On Friday 10 August 2007 21:46:12 Giovanni Bajo wrote:
> On 8/10/2007 1:01 PM, Ismail Dönmez wrote:
> >>> Ping?
> >> I'm waiting for your reply to Giovanni's question.
> > To reply Giovanni, yes uic is running from a program who uses system
> > locale which is tr_TR.UTF-8.
> Are you saying that, in your system, as soon as you start the Python
> interpreter, the locale is tr_TR.UTF-8? Or that your application changes
The application switches to system locale on startup.
> Anyway, I must say that, in either case, uic should probably be locale
> Your suggested fix seemed like the best solution.
Don't know where to place it though, its a generic function which might be
needed elsewhere. Its interesting python itself doesn't have such
Perfect is the enemy of good
More information about the PyQt