parameters: (self)
return_statement: return text
docstring: Retrieve the selected text as UTF8.  In an ansi build of wxPython
          the text retrieved from the document is assumed to be in the
          current default encoding.
docstring_summary: Retrieve the selected text as UTF8.  In an ansi build of wxPython
          the text retrieved from the document is assumed to be in the
          current default encoding.
docstring_tokens: Retrieve the selected text as UTF8 . In an ansi build of wxPython the text retrieved from the document is assumed to be in the current default encoding .
function: def GetSelectedTextUTF8(self):
          """
          Retrieve the selected text as UTF8.  In an ansi build of wxPython
          the text retrieved from the document is assumed to be in the
          current default encoding.
          """
          text = self.GetSelectedTextRaw()
          if not wx.USE_UNICODE:
              u = text.decode(wx.GetDefaultPyEncoding())
              text = u.encode('utf-8')
          return text
function_tokens: def GetSelectedTextUTF8 ( self ) : text = self . GetSelectedTextRaw ( ) if not wx . USE_UNICODE : u = text . decode ( wx . GetDefaultPyEncoding ( ) ) text = u . encode ( 'utf-8' ) return text