set char set for json