.. _Socket.encoding: ================================================ Socket.encoding ================================================ :ref:`string` **encoding** Description ----------- Sets or retrieves the name of the encoding used to transmit data. Typical values are "ASCII", "BINARY", or "UTF-8".