X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78d14f80e9a72041ede52c30d912ec5cef21b1b3..758bce950ba9236d0a9edc4c880c3ec73b5173f3:/src/xrc/xmlexpat.cpp?ds=sidebyside diff --git a/src/xrc/xmlexpat.cpp b/src/xrc/xmlexpat.cpp index c7894b4c76..47be0b67d1 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 + - XML 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