Created
June 23, 2018 23:30
-
-
Save ridiculousfish/cbd01edd3cb4bc5a1678f1d26cb15ff6 to your computer and use it in GitHub Desktop.
wcwidth of variation selector
This file contains hidden or 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 <wchar.h> | |
#include <stdio.h> | |
#include <locale.h> | |
int main(void) { | |
char *loc = setlocale(LC_ALL, ""); | |
printf("%s %d\n", loc, wcwidth(0xFE0F)); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment