Automatically convert to UTF-8, detecting based on header's charset and html meta charset.