X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78d14f80e9a72041ede52c30d912ec5cef21b1b3..2dace059ee7aefeea0f2b843f1808b117f112795:/src/xrc/xmlexpat.cpp 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