encode with utf8
example for 256 color