+ 4
Unicode character’s
I wanted to write a console program which provides the Unicode code number for a character requested by the user. I got it - almost. Unfortunately not all characters can be seen. Can someone help and say why, respectively, how can this code be improved to be able to generate all (including eg. $, €, § etc.) characters? https://code.sololearn.com/cQ333QP28yva/?ref=app
5 Respostas
+ 1
Thanks for the support. I got it. The input coding must also be set to UTF8. And then it works with any characters that are typed directly on the keyboard 😀🎅🎁
+ 1
Thanks to sneeze for this great idea. I've known that for a while. Before I published my program, I tried to implement it there as well. This is not compatible with my solution of the reverse search.
+ 1
It is possible to get the binary value.
https://code.sololearn.com/cS12am7oXvwu
//added your calculation to my code
The question is how is the user going to input these characters.
+ 1
Yes, that's a qool solution sneeze.
In this case but, the characters are declared first.
My question was, how can it be solved if the input should be made directly from the keyboard?
It was my goal.