compareTo

open operator override fun compareTo(other: Charset): Int

Compares this charset to another by comparing their canonical names (ignoring case).