X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7e1957a679b13c2dbe299b0a49cbcfc244e605b..8c03c8bed161882eb2ddbfa147fb5655fe75748d:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 459f3189d6..8d11807aec 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -2395,7 +2395,7 @@ wxFontEncoding wxLocale::GetSystemEncoding() // on some modern Linux systems (RedHat 8) the default system locale // is UTF8 -- but it isn't supported by wxGTK in ANSI build at all so // don't even try to use it in this case -#if !wxUSE_UNICODE && defined(__WXGTK__) +#if !wxUSE_UNICODE && (defined(__WXGTK__) || defined(__WXMOTIF__)) if ( enc == wxFONTENCODING_UTF8 ) { // the most similar supported encoding...