method

names

v1_9_3_392 - Show latest stable - Class: Encoding
names()
public

Returns the list of name and aliases of the encoding.

Encoding::WINDOWS_31J.names  #=> ["Windows-31J", "CP932", "csWindows31J"]