Specify a character set (with tests)