send charset when applicable