#1276802 by publicmind: Support the decoding of characters when the charset is already present in the head meta tag.