Fixed small bugs in several .po files, enabling these translations to
[xboard.git] / po / normalize.pl
diff --git a/po/normalize.pl b/po/normalize.pl
new file mode 100755 (executable)
index 0000000..cc02ac0
--- /dev/null
@@ -0,0 +1,10 @@
+#! /usr/bin/perl
+# Normalize unicode text into form C (canonical decomposition)
+
+use Unicode::Normalize;
+binmode STDIN, ':encoding(UTF-8)';
+binmode STDOUT, ':encoding(UTF-8)';
+
+while (<>) {
+    print NFC($_);
+}