Enabling special characters to be displayed?
Posted: Fri Oct 14, 2016 1:37 pm
For some reason, special characters like "☻" and "▬" are not being displayed at all on the website. Is there a way to enable these?
Community Forum
https://forum.vestacp.com/
Its PHP files, no encoding it see from what I can find.mehargags wrote:There are some steps to check here...
1. What is your file's Character Set Encoding? Some old html files can have ISO-8859-1 which you may need to convert to UTF-8
2. check your locales
All files use a charset, and check if you are using unix or dos formatElectrumGuy wrote: Its PHP files, no encoding it see from what I can find.
http://bfy.tw/8C5AElectrumGuy wrote: Where do I look at the locales?
Locales returned:mehargags wrote:All files use a charset, and check if you are using unix or dos formatElectrumGuy wrote: Its PHP files, no encoding it see from what I can find.
http://lmgtfy.com/?q=check+file+for+unix+or+dos+format
http://bfy.tw/8C5AElectrumGuy wrote: Where do I look at the locales?
The data is being read from mysql.skurudo wrote:special characters in text like php/html or do you read data from mysql base for example?
Check this Discussion... you need to set your Charset for Data pulled from MySQLElectrumGuy wrote: The data is being read from mysql.
Code: Select all
mysql_query("SET NAMES 'utf8';", $link);
mysql_set_charset('utf8',$link);