+ 2
Diverse emojis in C++?
My C++ code below uses emojis. I wanted to make them diverse and have been trying to modify skin colour through the Unicode code. With no success although I have been scanning past discussion, codes and googling. Is there a way to colour smiley? How can I use the modified unicodes from the tables in C++? https://code.sololearn.com/cVvCzn7yFxjG/?ref=app
5 Réponses
+ 3
You can change skin tones using the unicode fitzpatrick scale skin tone modifiers.
For example, if "\U0001F44B" is a waving hand 👋, then "\U0001F44B\U0001F3FB" is a waving hand with type 1-2 skin 👋🏻.
Not every emoji supports skin tone modifiers, you can find a full list at https://unicode.org/emoji/charts/full-emoji-modifiers.html
It looks like that particular smiley of yours is not on the list.
+ 3
Passiert hier gelegentlich, ich glaube das ist wenn der Hamster müde wird und die im Hamsterrad ein paar neue einspannen müssen damit der Server wieder Strom bekommt :P
+ 2
thank you, Schindlabua! I was trying to do this with + rather than with \ characters, as the unicode.org tables seem to imply, and kept getting errors. (btw, your waving hand lacks a B, I was getting a crash from this also)
+ 2
Whoops, and the link was wrong aswell. :D
Different languages have different ways of writing down these hexcodes. "0x1F44B" is common too. It's just one of those things.
+ 2
Drei mal geschnitten und immer noch zu kurz! (wie meine Ur-Oma zu sagen pflegte). Now it is working but any attempt to save changes to the code is failing! 😂 Thanks anyway!