I've been thinking about allowing the encoding used by wxPython for the
automatic internal unicode<-->string conversions to be get/set. If it
can be done without impposing additional overhead then I think that it
makes sense. Thoughts?
-- Alain:
If I understand correctly, you mean that there would be some global switch
which would tell wxPyton to use Unicode or ANSI for all values that it
returns right?
I sure could use that right now. I have a system that I want to upgrade to
wxPython 2.5, but many of the values that I retrieve from the UI are
transmitted to a third party library that can't deal with unicode. I have
tried to isolate all the places where I retrieve a value from the UI, to
make sure that I convert it to ANSI before passing it along or storing it.
But I was not successful in identifying all of them. So in the end, I
decided to postpone upgrade to 2.5 (I am in the middle of doing a release
and I can't afford the time to hunt down all of those issues).
It would be much easier for me if I could just set a global switch to tell
wxPython to only return ANSI strings (my application is a programming tool,
and all values entered are things like variable and method names which are
all ANSI strings).
ยทยทยท
----