adding character set to header