Created
May 10, 2012 08:44
-
-
Save kmcallister/2651938 to your computer and use it in GitHub Desktop.
testing 'æ'
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
#define _XOPEN_SOURCE | |
#include <wchar.h> | |
#include <locale.h> | |
#include <stdio.h> | |
int main() { | |
setlocale(LC_ALL, ""); | |
printf("%d\n", wcwidth(0xE6)); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment