X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78d14f80e9a72041ede52c30d912ec5cef21b1b3..0e2ff151afc472efd2814c74add5ad4498709d33:/contrib/src/xrc/xmlexpat.cpp?ds=inline diff --git a/contrib/src/xrc/xmlexpat.cpp b/contrib/src/xrc/xmlexpat.cpp index c7894b4c76..9eaa5c7310 100644 --- a/contrib/src/xrc/xmlexpat.cpp +++ b/contrib/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