V
V
vladislavik952019-03-25 00:00:07
Search Engine Optimization
vladislavik95, 2019-03-25 00:00:07

How to display emoji correctly?

I'm making a VK group. I want it to be indexed in search engines. Faced such a problem as inserting emoji into the description of the VK group. I put in emoji. But when I open the page code, the emoji is not here. And most likely it will not be in the Google snippet.
How can I solve this problem so that the emoji are displayed correctly?
5c97ef5572ecb673603032.png5c97efd132d54895130267.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Moskus, 2019-03-25
@vladislavik95

How is it "does not contain"? What do you think the character entity is doing there? This is your smiley. To insert it not in this way, but as a Unicode character, the entire page code must be in Unicode, more precisely, for example, in UTF-8 encoding. It is not possible to insert and display a Unicode character on a page on Windows-1251 without converting it to a character entity.

M
Max Payne, 2019-03-25
@YardalGedal

Moskus answered you correctly, but I'll chew a little more. VK has its own emoji, no matter how you send them - through & #...; or \u... (this will work in the API), or even copying a symbol from somewhere - VKontakte will always display them the same way - in the format & #...; and in the style that is used on the site. In the source code there is a file containing all their emoji, you can read it in more detail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question