@Sergey.quixoticaxis.Ivanov what do you mean by "C++ ISO(2.3)"? There's no leeway for implementation defined behaviour here. See
eel.is/c++draft/lex.string#9. If you can type it, your implementation must make it
{ 0xF0, 0x9F, 0x8D, 0x8C, 0 }
. UTF-8 doesn't care what the character looks like: it encodes any thing from U+0000 to U+10FFFF (excluding U+D800 to U+DFFF), regardless of what meaning it has. So, unless you're using a source encoding that can't encode U+1F34C BANANA, there's no implementation-defined behaviour.