]> git.saurik.com Git - wxWidgets.git/commitdiff
Try using UTF-8 on OS/2.
authorStefan Neis <Stefan.Neis@t-online.de>
Fri, 8 Jun 2007 16:48:12 +0000 (16:48 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Fri, 8 Jun 2007 16:48:12 +0000 (16:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index b3c7ed39aa510340add2f38c9105184583e262a2..62071e88d48423fa1a6150ecdd7d11dd9159e257 100644 (file)
@@ -3859,6 +3859,11 @@ if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
         wxUSE_UNICODE_UTF8=yes
     elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
         wxUSE_UNICODE_UTF8=yes
+    elif test "$USE_OS2" = "1" ; then
+        dnl wide char support is quite incomplete in libc;
+        dnl UTF-8 might actually work when evaluating/setting
+        dnl code pages correctly, even for ports other than GTK20.
+        wxUSE_UNICODE_UTF8=yes
     else
         wxUSE_UNICODE_UTF8=no
     fi