adding character encoding