X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78d14f80e9a72041ede52c30d912ec5cef21b1b3..b916f809336755620b010293637b12763f01455d:/src/xrc/xmlexpat.cpp diff --git a/src/xrc/xmlexpat.cpp b/src/xrc/xmlexpat.cpp index c7894b4c76..9eaa5c7310 100644 --- a/src/xrc/xmlexpat.cpp +++ b/src/xrc/xmlexpat.cpp @@ -33,7 +33,7 @@ - handle unknown encodings - process all elements, including CDATA - - XML resources should automatically select desired encoding besed on + - XRC resources should automatically select desired encoding based on runtime environment (?) (would need BIN and BINZ formats modification, too) @@ -44,7 +44,7 @@ inline static wxString CharToString(const char *s, size_t len = wxSTRING_MAXLEN) { #if wxUSE_UNICODE - return wxString(s, wxMBConvUTF8, len); + return wxString(s, wxConvUTF8, len); #else return wxString(s, len); #endif