Declare a character encoding.