Re: About Boa constructor 0.6.1
"Werner F. Bruhin" <[email protected]>
| Newsgroups | gmane.comp.ide.boa-constructor.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/