Categories

ep.utf8Encode()

Categories: Utilities

ep.utf8Encode( text )

Plugin: ep.utf8

Description: Encode a text as UTF-8.

  • ep.utf8Encode( text )

    version added: 6.11.0

    text   A string to encode.

The ep.utf8Encode() method converts a text into he UTF-8 charset.

  • Convert a text into utf8 charset.

    Code:
    ep.utf8Encode('a ä o ö u ü');
    
    Results:
    a \\u00r4 o \\u00f6 u \\u00fc