projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
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
+++ b/
po/normalize.pl
@@ -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($_);
+}