Re: wxListBox and others after upgrade to MacOS X 10.4
Hi again
more data:
I upgraded to 2.6.x version of wxPython and tried to run my program (
using
wxversion.switch('2.6') of course) - no results.
Demo boudled with wxPython works well ( at least wxListBox )
BTW UI code was generated by wxGlade.
Help Help Help
--
http://mail.python.org/mailman/listinfo/python-list
wxPython / Mac / unicode
Hi!
I can not present unicode string in wxPython application
utf-8 string: SomeProductName®
here is how I converted it from iso8859-18
reference = unicode (reference,'iso8859_15').encode('utf-8')
Traceback (most recent call last):
File "/Users/isthar/Documents/Projects/pyEdipEditor/MainFrame.py",
line 417, in OnSelectGen
self.textRef.SetValue( reference )
File
"/BinaryCache/wxWidgets/wxWidgets-2.root~174/System/Library/Frameworks/Python.framework/
Versions/2.3/Extras/lib/python/wx-2.5.3-mac-unicode/wx/_controls.py",
line 1638, in SetValue
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
25: ordinal not in range(128)
As You see I have unicode version of wx ... so I am in dead end now.
please, ... some clue ... :(
gr, tomek
--
http://mail.python.org/mailman/listinfo/python-list
Re: wxPython / Mac / unicode
Hi I did your loop after ensuring that everything works fine:P Big Thanks :D Greets, Tomek. -- http://mail.python.org/mailman/listinfo/python-list
Marshaling unicode WDDX
Hi ! i am trying to serialise object which contains some unicode objects but looks like there is no way to do it. File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/ _xmlplus/marshal/generic.py", line 92, in _marshal return getattr(self, meth)(value, dict) AttributeError: WDDXMarshaller instance has no attribute 'm_unicode' WDDX is perfect for me for exchange between python and php application. but maybe there is a better way to do it. Any clue? Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list
Re: Marshaling unicode WDDX
Ok. but how I suppose to use them. I am currently using marshaller indirectly via wddx.dump(). Anyway, thanks :) -- http://mail.python.org/mailman/listinfo/python-list
