In the 2.9 wxWidgets series, there are actually now 3 build modes for wxString. I added TO_UTF8() and FROM_UTF() macros which should work for all 3 build modes, moving forward. Any place where true UTF8 encoding and decoding is needed can now use these. I suggest a global search and replace as a migration strategy. I am already using them in some places, where I could not wait for true UTF8 support.