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:
Robin Dunn
2004-12-28 21:16:50 +00:00
parent b803274045
commit 669e06d77e
3 changed files with 26 additions and 2 deletions

View File

@@ -361,7 +361,13 @@ DocDeclAStr(
void , wxSetDefaultPyEncoding(const char* encoding),
"SetDefaultPyEncoding(string encoding)",
"Sets the encoding that wxPython will use when it needs to convert a
Python string or unicode object to or from a wxString.", "");
Python string or unicode object to or from a wxString.
The default encoding is the value of ``locale.getdefaultlocale()[1]``
but 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.", "");
DocDeclAStr(
const char* , wxGetDefaultPyEncoding(),