]> git.saurik.com Git - wxWidgets.git/commitdiff
Replace non-ascii characters with escapes
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 27 Nov 2005 01:58:19 +0000 (01:58 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 27 Nov 2005 01:58:19 +0000 (01:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/text/text.cpp
samples/typetest/typetest.cpp

index cb7961eeead6736b191987086640b024f4dcfe4b..5647bcb927be8dd19386a434f968ab5e074893f6 100644 (file)
@@ -925,14 +925,14 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
                 m_horizontal->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxNORMAL,
                                              false, _T(""),
                                              wxFONTENCODING_ISO8859_2));
-                m_horizontal->AppendText(_T("®lu»ouèký kùò zbìsile èe¹tina «»"));
+                m_horizontal->AppendText(_T("\256lu\273ou\350k\375 k\371\362 zb\354sile \350e\271tina \253\273"));
                 break;
 
             case '1':
                 m_horizontal->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxNORMAL,
                                              false, _T(""),
                                              wxFONTENCODING_CP1251));
-                m_horizontal->AppendText(_T("Ïðèâåò!"));
+                m_horizontal->AppendText(_T("\317\360\350\342\345\362!"));
                 break;
 
             case '8':
@@ -942,7 +942,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
 #if wxUSE_UNICODE
                 m_horizontal->AppendText(L"\x0412\x0430\x0434\x0438\x043c \x0426");
 #else
-                m_horizontal->AppendText("ËÁÖÅÔÓÑ ÕÄÁÞÎÙÍ");
+                m_horizontal->AppendText("\313\301\326\305\324\323\321 \325\304\301\336\316\331\315");
 #endif
         }
     }
index 38f1356d7962109b5d523a98dc19b7549ed2c16b..8a22895fc148998b38b22c728366d0d5707c20bd 100644 (file)
@@ -885,7 +885,7 @@ void MyApp::DoUnicodeDemo(wxCommandEvent& WXUNUSED(event))
     textCtrl << _T("\nTest wchar_t to char (Unicode to ANSI/Multibyte) converions:");
 
     wxString str;
-    str = _T("Robert Röbling\n");
+    str = _T("Robert R\366bling\n");
 
     printf( "\n\nConversion with wxConvLocal:\n" );
     wxConvCurrent = &wxConvLocal;