I am trying to convert my existing PHP webpage to use UTF-8 encoding.
To do so, I have done the following things:
- specified UTF-8 as the charset in the meta content tag at the start of my webpage.
- change the default_charset to UTF-8 in the php.ini.
- specified UTF-8 as the iconv encoding in the php.ini file.
- specified UTF-8 in my .htaccess file using: AddDefaultCharset UTF-8.
Yet after all that, when i echo mb_internal_encoding(), it shows as ISO-8859-1. What am I missing here? I know I could use auto_prepend to attach a script that changes the default encoding to UTF-8, but I'm just trying to understand what I'm missing.
Thanks