From 5deedd6e79a29e5dcdcf6d94bda94b8d1c61c676 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Sat, 28 Apr 2007 15:56:17 +0000 Subject: [PATCH] Map illegal UTF-8 sequences to a range in Unicode's private use area as discussed recently on wx-users. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/strconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 9d093143fe..4aaf0ab3b7 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -480,7 +480,7 @@ wxConvBrokenFileNames::wxConvBrokenFileNames(const wxChar *charset) { if ( !charset || wxStricmp(charset, _T("UTF-8")) == 0 || wxStricmp(charset, _T("UTF8")) == 0 ) - m_conv = new wxMBConvUTF8(wxMBConvUTF8::MAP_INVALID_UTF8_TO_OCTAL); + m_conv = new wxMBConvUTF8(wxMBConvUTF8::MAP_INVALID_UTF8_TO_PUA); else m_conv = new wxCSConv(charset); } -- 2.47.2