'\uDB81': a universal-character-name specifies an invalid character

23 hours ago 1
ARTICLE AD BOX

I wan't to use nerd fonts, but compiler refuses to do it. My code is something like:

if (ImGui::BeginMenu("\udb81\udeb0 Update")) { ...

There is similar problem on this website, but the fix is not quite suitable for me, because:

I need data type "const* char". Maybe I can convert it, or make some fix to it, but i guess that will make my code less readable.

I will need separate file to declare all symbols.

This function is not working right with already declared variables

Read Entire Article