I have a website that allows users from around the world to submit profiles. Somewhere between storing/retrieving/displaying the characters, they are not rendering correctly. I'm not sure which step is having problems, but here is a breakdown of what is happening.
When I do a SELECT from my PostgreSQL DB via the psql command line interface, I see some characters such as the following appearing, which makes me believe they are saving correctly:
- ’
- …
- å
However, on my website, I'm seeing the above characters appearing as follows, respectively:
- �
- �
- å
I have tried changing the encoding in the header, with no luck, from:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
to:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
I'm just looking for some insight on any PHP settings / functions, PostgreSQL settings, HTML charsets, or anything else that I should be looking into to make sure everything displays properly for my users.