Reputation: 2754
Why does this page
http://reboltutorial.com/cgi-bin/designpatterns-quiz.cgi
shows a ? in the sentence (at least on my firefox)
Separates an object’s abstraction from its implementation
whereas I am using utf-8 ?
Upvotes: 0
Views: 157
Reputation: 28656
Just saying you're using UTF-8 doesn't make it so.
Where does that character come from? Is it static content, or does it come from a database or so? If it's from the database, make sure your entire web application stack uses UTF-8 as well. I don't know what you're using, but I know it's not straight-forward for PHP/Apache/MySQL.
If it's static content, make sure you save your HTML files as UTF-8.
Contrary to what the others have said, by the way, that character is not an ISO-8859-1 character, but a Windows-1252 character.
Upvotes: 2
Reputation: 45324
Because whoever made that page actually encoded it iso-8859-1.
Upvotes: 2
Reputation: 449385
Because the site declares UTF-8 as its content type, but the ´
is a ISO-8859-1 encoded character. Switch your editor to UTF-8 and type it in again (this is the recommended way over using entities).
Upvotes: 3