Created
November 4, 2016 14:08
-
-
Save AVGP/06a4988edcbf592ad3193779878a1232 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
char utf8[4] = {'\xe2', '\x80', '\xa6', '\x00'}; // first three bytes are the "..." UTF-8 character, fourth byte is string termination | |
int main () | |
{ | |
std::cout << utf8 << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment