Perhaps this is a very stupid question, but something I did not find a function that returns the character code UTF-8.
I know that we can get the ASCII code with the following code:
char our_symbol = 'v'; int number; number = (int) our_symbol; How to get code from UTF-8?
Clarifications: There is a character code sequence that we want to recognize.
Suppose this character 'а' is a Cyrillic character.
If we translate its bytes into decimal code, we get 1байт - 208, 2байт - 176