Currently I have a XAMPP server and MySQL database related to it. The database has some data that has superscript charactors such as ™. I used some form to insert such data into database. In database it has been showing as â„¢. But when I query, then it shows correctly as ™ in the HTML page.
My Issue
I created the same database in another XAMPP server and transferred data by exporting from original MySQL database and import to new MySQL database. All data transferred correctly. But this time, when I query the special charactor and showed in HTML page, it is not showing the superscript charactor as ™, instead it shows as â„¢.
When I export data, I used utf-8 too
But when I tried to add a new data with ™ in it by using query into the new MySQL database and such added data is showing correctly as ™ instead of â„¢. But those imported data is still not showing correctly in HTML page.
I tried to add mysqli_set_charset($conn,“utf8”) in the connection file. But it is not solving the issue.
Does anyone know why this way?
