Re: [Boa Constr] About Boa constructor 0.6.1
Status: Beta
Brought to you by:
riaan
From: Werner F. B. <wer...@fr...> - 2007-10-18 18:13:39
|
Hi Riaan, Riaan Booysen wrote: > ... > Boa.exe -U utf-8 Are you doing this on Windows? Could it be that my -O option is having some influence on this? > > >>> import sys > >>> sys.getdefaultencoding() > 'utf-8' > >>> import wx > >>> wx.GetDefaultPyEncoding() > 'utf-8' If I use sitecustomize.py it works for me: import sys >>> sys.getdefaultencoding() 'utf-8' >>> import wx >>> wx.GetDefaultPyEncoding() 'utf-8' If I don't use it the default (cpsomething which is equivalent to iso8859-1) is getting picked up from somewhere, I don't know where from. I believe the wx.etc functions pick it up from python based on some rules Robin at some point explained, but I can't find the thread at the moment. I started testing my things with wxPython Unicode and my plan is to move over to it in the near future and with Python 3000 I understand that UTF-8 will the default. For me the big work will be to change all the database stuff, I believe that version 2.1 of Firebird SQL will help me on this, will start on this as soon as I am back from a cooking week with friends in the south east of France (no Internet access for all that time). Werner |