Not show all character

Started by privateerox, March 23, 2015, 08:43:47 PM

Previous topic - Next topic

privateerox

I have made a php file with some character like this:

¦@#°§¬|¢[]{}+"*%ç&/()=?`è!£àé

But the server don't show me all of these character. How I can change charset for apache?

AddDefaultCharset utf-8  - don't work with this in apache config.

Administrator

please explain it more detailed ?

brijendrasial

edit php.in file and look for line ;default_charset = "UTF-8". Uncomment it and save file. Now restart apache and check

nano /usr/local/php/php.ini

Press ctl+w and type default_charset. Uncomment it and save (ctl+o and ctl+x)