I have used phpMyAdmin to export a database from my remote server to WAMP via SQL file. All php code is the same on both sites but the local site gets charset errors when pulling data out of the database (black diamonds with ? where apostrophes should be).
Database Collation (both): utf8mb4_general_ci Table Collation (both): utf8_general_ci Column Collation (both): utf8_general_ci
When I run mysqli_character_set_name() on the remote site it returns uft8 but the local site defaults to latin1.
If I set the local site to utf8 with mysqli_character_set_name() the black triangles turn to two white rectangles with black borders.
What am I missing?