Implemented charset settings (still need to test)