I just resolved the issue. Turns out that it was some conflict with the version of PHP I was using. I upgraded to 8.0, which seemed to generate the extra characters. As a test, downgrading to 7.4 or upgrading to 8.1 (the latest version) fixed the issue. Thanks for directing me to PHP as a solution, threadi. Much appreciated!