encoding

Returns encoding's name, lowercased.

MDN Reference