should correctly parse meta charsets for multiple charsets by taking the first one