Categories

jQuery.fromUTF8()

Categories: Utilities

jQuery.fromUTF8( text )Returns: String

Plugin: jQuery.utf8

Description: Decode a UTF-8 text.

  • jQuery.fromUTF8( text )

    version added: 1.3

    text   A string to decode.

The jQuery.fromUTF8() method converts a text into he UTF-8 charset.

  • Decode a text from utf8 charset.

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