My 2020 Saving Grace
2020 has been a hell of a year.
Dillinger Escape Plan – Hellfest 2004
15 years to the day…
Clark – Death Peak
PHP Encoding issues
Had an issue we were running into regarding encoding while trying to render content that had been parsed by DOMDocument()
utf 8 – Getting ’ instead of an apostrophe(') in PHP – Stack Overflow
Solution:
echo mb_convert_encoding($content,"HTML-ENTITIES","UTF-8");
mb_convert_encoding is your friend 🙂