Charset.language

string language(string charset)

Attempts to find a specific language code that is specific to charset. Currently only handles CJK and Russian/Ukranian charset->lang mapping. Everything else will return null.

Parameters

charsetcharset name

Returns

a language code that is specific to charset,

or null on fail.