added charset setting