def set_encoding(encoding: str):
    """ Set encoding of input text
    @param encoding String of encoding
    @todo need to consider working with bytes data.
    """
    global _ENCODING
    _ENCODING = encoding
