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"?'
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"?'