; G@c@s"dkZddfZddfZddfZddfZddfZd dfZd d fZd dfZd dfZ ddfZ ddfZ ddfZ dei fdYZdZdZedjoPdkZdkZdkZeideiieidgeidndS(Nu"Python 是最好的編程語言!s(Python is the best programming language!uPythonas yra žaviausia šnekasPython is the bestuAš mėgstu šokoladąsI like chocolateu4파이썬은 최고의 프로그래밍 언어이다!u>Питон е най-добрия програмен език!uEПитон - лучший язык программирования!s"Python 是最好的編程語言!s'Python is the best programming languagesPythonas yra žaviausia šnekasAš mėgstu šokoladąs4파이썬은 최고의 프로그래밍 언어이다!s(Python is the best programming language!s>Питон е най-добрия програмен език!sDПитон - лучший язык программирования!s TestPanelcBs,tZdZdZddedZRS(Nc CsD||_tii||dtiti}ti oO|i ||i |ddti dti titi|i |nj|i}ti d|i|itit|i|i}|i ||i |tdtdd||i ||i |tdtdd ||i ||i |tdtdd ||i ||i |tdtdd ||i ||i |tdtdd ||i ||i |tdtdd ||i |titi}|i|dti ti!Bd |i"t#|i$|dS(Nis8Sorry, this wxPython was not built with Unicode support.sfonti iiisChinese:s Lithuanian:sKorean:s Bulgarian:sRussian:i (%slogsselfswxsPanels__init__sparentsBoxSizersVERTICALsboxs USE_UNICODEsAddLinesAddTextsFontsSWISSsNORMALsBOLDsGetFontsfs GetFamilysGetStylesFalses GetFaceNames GetEncodingsfontschi_unislt1_unislt2_uniskor_unisbul_unisrus_unisbordersAddsEXPANDsALLs SetAutoLayoutsTruesSetSizer(sselfsparentslogsboxsfsfontsborder((sg/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Unicode.pys__init__,s8    % $ ! ! ! ! ! !   cCs&|iti|ddtidS(Nii(ssizersAddswxs StaticLinesselfsEXPAND(sselfssizer((sg/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Unicode.pysAddLineUsscCsti|d|}ti|d|}ti|d|dti}|tj o|i |nti ti }|i ||i ddf|i |dti|i ||i |dtitiBddS(Nisstyleii iii(swxs StaticTextsselfslangstext1stext2s ALIGN_RIGHTsfontsNonesSetFontsBoxSizers HORIZONTALsrowsAddsEXPANDssizersALL(sselfssizerstext1stext2slangsfontsrow((sg/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Unicode.pysAddTextXs   (s__name__s __module__s__init__sAddLinesNonesAddText(((sg/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Unicode.pys TestPanel+s ) cCst||}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sg/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Unicode.pysrunTestmssl

wxPython Unicode Support

wxWindows and wxPython can be compiled with unicode support enabled or disabled. Previous to wxPython 2.3.3 non-unicode mode was always used. Starting with 2.3.3 either mode is supported, but only if it is also available in wxWindow on the platform. Currently wxWindows only supports unicode on MS Windows platforms, but with the recent release of GTK+ 2.0 it is only a matter of time until it can be done on wxGTK (Linux and other unixes) as well.

When unicode is enabled, then all functions and methods in wxPython that return a wxString from the C++ function will return a Python unicode object, and parameters to C++ functions/methods that expect a wxString can accept either a Python string or unicode object. If a string object is passed then it will be decoded into unicode using the converter pointed to by wxConvCurrent, which will use the default system encoding. If you need to use string in some other encoding then you should convert it to unicode using the Python codecs first and then pass the unicode to the wxPython method. s__main__sii(swxschi_unislt1_unislt2_uniskor_unisbul_unisrus_unischi_utf8slt1_utf8slt2_utf8skor_utf8sbul_utf8srus_utf8sPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv(ssyssrunsbul_utf8slt1_unischi_unisrus_utf8skor_utf8srunTestslt2_unislt2_utf8skor_unisossoverviewslt1_utf8srus_unis TestPanelschi_utf8sbul_uniswx((sg/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Unicode.pys?s&             B