Answer the question
In order to leave comments, you need to log in
How to display a number as an emoji?
Good day!
I'm trying to display numbers in the cart as emojis like this:
but it doesn't work.
Take, for example, the icon of a dice, which in the cart itself has the code :game_die: it is displayed normally, and if you take a code of numbers from the cart, for example, :one: :two: :three: then they are not displayed at all as emojis, googled, they say, what should be done through UNICODE, took the unit \U00000031 \U000020E3 , here is the conclusion:
Dice through UNICODE is normally displayed, I think the problem is that the number codes consist of two parts.
Answer the question
In order to leave comments, you need to log in
Try escaping it all with r ,
or copy the emoji and paste it into the code where you want.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question