Version: v0.8.1 - Beta.  We welcome contributors & feedback.

String.fromEncoding

fromEncoding($encoding) -> string

Description

Convert the string from the given $encoding back to plaintext.

See toEncoding for a list of encodings.

$enc = 'Why "THT"?'

$enc.fromEncoding('html')
//= 'Why "THT"?'

See Also