Is there a proper way to receive input from console in UTF-8 encoding?
When getting input from std::cin
in windows, the input is apparently always in the encoding windows-1252 (the default for the host machine in my case) despite all the configurations made, that apparently only affect to the output. Is there a proper way to capture input in windows in UTF-8 encoding?