Displaying degree symbol on webpage

php, symbols

Solution

See DEGREE CHARACTER.

Specifically, HTML Entity: `°`.

Check that you have the proper docstring and character encoding in both templates to make sure they are correct.

Problem

I have a program which extracts GPS coordinates from metadata and imports the results onto a database. I then display the data using PHP on a webpage. My problem - I've recently created a new template but for whatever reason, it is no longer showing the degrees symbol '°' but a '�'. I just find it strange that it works with one template, but not the other? I've tried changing fonts, but had no luck

Original source