Docs for [GS]etDefaultPyEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,13 @@ if RELEASE_VERSION != _core_.RELEASE_VERSION:
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
# Set the default string conversion encoding from the locale
|
||||
# Set the default string<-->unicode conversion encoding from the
|
||||
# locale. This encoding is used when string or unicode objects need
|
||||
# to be converted in order to pass them to wxWidgets. Please be aware
|
||||
# that the default encoding within the same locale may be slightly
|
||||
# different on different platforms. For example, please see
|
||||
# http://www.alanwood.net/demos/charsetdiffs.html for differences
|
||||
# between the common latin/roman encodings.
|
||||
import locale
|
||||
default = locale.getdefaultlocale()[1]
|
||||
if default:
|
||||
|
Reference in New Issue
Block a user