To set the PHP page to UTF-8, you can modify the HTTP header with:
header('Content-Type: text/html; charset=utf-8');
Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.
p.s. I increased my AdSense revenue by 200% using AI 🤖. Read my Ezoic review to find out how.