(text)
return force_str(text, encoding='utf-8')
Safe text (encode).

    :return str:
Safe text (encode).
Safe text ( encode ) .
def safe_text(text):
    """Safe text (encode).

    :return str:
    """
    return force_str(text, encoding='utf-8')
def safe_text ( text ) : return force_str ( text , encoding = 'utf-8' )