UTF 8 Error across entire website

So I’m learning. I own a business and own many websites and out of pure frustration and exhaustion due to getting constantly ripped off by web developers and seo agencies I have taken on all my own web development and seo.

I pay for ahrefs which in my opinion has been an excellent tool for identifying low hanging fruit in terms of improving health score and keyword and competitor analysis.

I keep running into a common error which appears to be isolated to one particular web dev company who moved a bunch of my old websites over from WP bakery to elementor.

The error is a broken JS error charset=utf-8. I know it’s that company because the link to broken javascript is examplewebsite.ca/wp-content/themes/companyname-child/custom.js?ver=0000

So clearly their custom theme included the problem.

This obviously has something to do with the character encoding but can’t seem to figure this one out after several hours of research and trial and error. I’ve checked the addition Css section. Don’t see anything there.

Someone please point me I’m the right direction. All help and advice appreciated.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer