Hello everyone,
I am using
python 2.6
wxPython 2.8.12.1
to get string from wx.choice box i am using following code
mystringvalue = self.panels[i].chcchoice.GetStringSelection()
it works fine if wx.choice contains only alphanumerical characters.
it;s giving error when i am using special character like µ
and in this case giving error as
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xb5’
in position 9: ordinal not in range(128)
Can anyone help to resolve this.
Thanks