Ensure charset is first.