Last active
May 24, 2017 11:21
-
-
Save winocm/e3eb9c9b061c7414441c45a4938a0c57 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 <stdio.h> | |
#include <stdarg.h> | |
static void d̰̞ͅi̜̣̣̤̪s͎̬̙p̫̞͕̹̣͉̙a̘̞̼͕̲ͅt̰̳c͚̟̳͎̻̘ͅh̻͠(const char* f̢̬͉̥̮͈̦̤m̨t̴̝̳, ...) | |
{ | |
va_list a̢͍͉̪͝p̨̙͎͙̳; | |
va_start(a̢͍͉̪͝p̨̙͎͙̳, f̢̬͉̥̮͈̦̤m̨t̴̝̳); | |
vfprintf(stderr, f̢̬͉̥̮͈̦̤m̨t̴̝̳, a̢͍͉̪͝p̨̙͎͙̳); | |
va_end(a̢͍͉̪͝p̨̙͎͙̳); | |
} | |
int main(int argc, const char* argv[]) | |
{ | |
const char* h̟͎̪̮e̗͔̟_͎̩̤͖͕̞c̢̤̙̙̱̗̰o̞͓̹͞m̦̟̤̖͙͕e̴̩̟̯̦͉̭s̫̻͠ = "t̥͓̙h̪͔̼͔͍͎͉e ͉̼̖̹ẹ̣̳̮̤̯͕͞n̯̬̰̝̱͕d̝̳ ̨t҉̺̹̫̘̳i̦̤̦̪͇̤͝m̜͚̪̰̜̳̩͝e͏͉̣̫̠̦ͅ ̣̜ͅi̫̱͉͔̺̣͚͝s͚͈͎ ͕̼̼̰ͅn̨i͉̝̩͠g̵̟͔̩ͅh͍̼"; | |
d̰̞ͅi̜̣̣̤̪s͎̬̙p̫̞͕̹̣͉̙a̘̞̼͕̲ͅt̰̳c͚̟̳͎̻̘ͅh̻͠("%s", h̟͎̪̮e̗͔̟_͎̩̤͖͕̞c̢̤̙̙̱̗̰o̞͓̹͞m̦̟̤̖͙͕e̴̩̟̯̦͉̭s̫̻͠); | |
return 0; | |
} |
Author
winocm
commented
May 24, 2017
•
curl https://gist.githubusercontent.com/winocm/e3eb9c9b061c7414441c45a4938a0c57/raw/d05ab3137df39c8125b5fe286ec93d087b99cf4c/unicode_was_a_bad_idea.cc | sudo clang -x c++ -std=c++11 -
sudo
for added danger.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment