Blog coding and discussion of coding about JavaScript, PHP, CGI, general web building etc.

Saturday, December 26, 2015

How to display special characters in PHP

That should output Rsum just how you want it to.

If you don't have short tags enabled, replace the with

Answer by philtune for How to display special characters in PHP


After much banging-head-on-table, I have a bit better understanding of the issue that I wanted to post for anyone else who may have had this issue.

While the UTF-8 character set will display special characters on the client, the server, on the other hand, may not be so accomodating and would print special characters such as ? and ? as ? and ?.

To make sure your server will print them correctly, us the ISO-8859-1 charset:

        Untitled Document        

0 comments:

Post a Comment

Popular Posts

Powered by Blogger.