Answer the question
In order to leave comments, you need to log in
How to implement emoji in php site?
Good day.
I have a problem with connecting emoji to the site, that is, there are no problems, but the problem is in the output of the emoticons themselves, that is, in the encoding.
Actually I found the library on github, but nothing is clear.
This is the "example" that is on the github, but it's not clear what function plays its role.
This is a variable that contains the text that will be written to the database. (the text is filtered for tags, quotes, and the like).
This is how I already display the text from the database (the transofrm_text() function filters the text for the presence of #hastag )
This is the result when I tried to add a smiley. But it gives me parameters from the database. Actually here is the problem .
How to deal with it? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question