Robot Framework
encoding.py File Reference

Go to the source code of this file.

Namespaces

 robot.utils.encoding
 

Functions

def robot.utils.encoding._get_console_encoding (stream)
 
def robot.utils.encoding.console_decode (string, encoding=CONSOLE_ENCODING)
 Decodes bytes from console encoding to Unicode. More...
 
def robot.utils.encoding.console_encode (string, encoding=None, errors='replace', stream=sys.__stdout__, force=False)
 Encodes the given string so that it can be used in the console. More...
 
def robot.utils.encoding.system_decode (string)
 
def robot.utils.encoding.system_encode (string)
 

Variables

 robot.utils.encoding.CONSOLE_ENCODING = get_console_encoding()
 
 robot.utils.encoding.PYTHONIOENCODING = os.getenv('PYTHONIOENCODING')
 
 robot.utils.encoding.SYSTEM_ENCODING = get_system_encoding()