was going to fix chardet->charset typo, but neither of these exist anyways