charset must be specified