3 ms·
At least once, but it's been a while. From the top of my head: - set encoding at HTML head - also at any HTML form element - Set database collation correctly -
by fleddr 5y ago
At least once, but it's been a while. From the top of my head:
- set encoding at HTML head
- also at any HTML form element
- Set database collation correctly
- I believe it also needs to be done per table
- The PHP -> MySQL connection itself may need to have the encoding set
- All string manipulation to be done with mb_
- Even ensure your code files themselves are in UTF8