Remove dead code
Set charset