Syntax highlighted text was calculating the utf8 character size twice per character.
chardet
charset_normalizer