• Obtains the encoding format of a character string.

    Parameters

    • str: string

      Character string to be checked

    Returns Encoding