summaryrefslogtreecommitdiff
path: root/NFC
diff options
context:
space:
mode:
Diffstat (limited to 'NFC')
-rwxr-xr-xNFC9
1 files changed, 9 insertions, 0 deletions
diff --git a/NFC b/NFC
new file mode 100755
index 0000000..aec1c58
--- /dev/null
+++ b/NFC
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+import fileinput
+import unicodedata
+import sys
+
+for line in fileinput.input():
+ sys.stdout.write(unicodedata.normalize('NFC', line))
+