Mobile not displaying apostrophe/special characters - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Sunday, November 12, 2023

Mobile not displaying apostrophe/special characters

I have a html form that save strings to a database through a PHP file and then displays the results on the next html page. Whenever an apostrophe is input on the form it is displaying on the following page as a box and I cannot figure out why.

It does store the correct value in the database and works on a desktop, but every mobile browser displays it incorrectly. I have UTF-8 across the CSS and HTML files but cannot seem to understand how to fix.

Any suggestions where to go next?

I tried different meta tags, collation attributes, and testing across multiple browsers.



source https://stackoverflow.com/questions/77466252/mobile-not-displaying-apostrophe-special-characters

No comments:

Post a Comment