GetSystemEncodingName() empty on MacOS X

Hi,

On MacOS X, wx.Locale.GetSystemEncodingName() returns the empty string
whereas wx.Locale.GetSystemEncoding() returns the proper value.

However, I need to have the textual value of the encoding in order to
use in the standard Python functions unicode.encode() and str.encode().
How can I get this value from the numerical constants returned by
GetSystemEncoding() ?

Thanks

Antoine.

Antoine Pitrou wrote:

Hi,

On MacOS X, wx.Locale.GetSystemEncodingName() returns the empty string
whereas wx.Locale.GetSystemEncoding() returns the proper value.

However, I need to have the textual value of the encoding in order to
use in the standard Python functions unicode.encode() and str.encode().
How can I get this value from the numerical constants returned by
GetSystemEncoding() ?

Please enter a bug report about this with a category of "wxMac specific"

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!