How does CPP get the Unicode value of emoji?

for example, I have an emoji

std::string emojiStr = "clients";

his Unicode value is "U + 1F31E"

ask how to use emojiStr to get the following unicode?

Mar.28,2022

if your code is utf-8 encoding (if not, it is also recommended to use utf-8 encoding), and the emoji file you write is also utf-8 , which is suggested to be converted to unicode encoding.
randomly found a code:

  Code Source  

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9e16e-5c7c6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9e16e-5c7c6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?