git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35573
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// VS: we must not output an error here, since wxWidgets will safely
// fall back to using wxEncodingConverter.
wxLogTrace(TRACE_STRCONV, wxT("Impossible to convert to/from charset '%s' with iconv, falling back to wxEncodingConverter."), name);
// VS: we must not output an error here, since wxWidgets will safely
// fall back to using wxEncodingConverter.
wxLogTrace(TRACE_STRCONV, wxT("Impossible to convert to/from charset '%s' with iconv, falling back to wxEncodingConverter."), name);
- wxLogTrace(TRACE_STRCONV, wxT("wchar_t charset is '%s', needs swap: %i"), ms_wcCharsetName, ms_wcNeedsSwap);
+ wxLogTrace(TRACE_STRCONV,
+ wxT("wchar_t charset is '%s', needs swap: %i"),
+ ms_wcCharsetName ? ms_wcCharsetName : "<none>", ms_wcNeedsSwap);
}
else // we already have ms_wcCharsetName
{
}
else // we already have ms_wcCharsetName
{