diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..03da96c59dcb7c1d1ee965d1098f1412bfc9998a
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+*.sps diff=utf16le
+# Put this in .git/config:
+# [diff "utf16le"]
+#         textconv = ./utf16le.clean
diff --git a/utf16le.clean b/utf16le.clean
new file mode 100755
index 0000000000000000000000000000000000000000..e79f59ae3e7ad28678b516ae1dc2144e543265c8
--- /dev/null
+++ b/utf16le.clean
@@ -0,0 +1,2 @@
+#!/bin/sh
+cat $1 | dos2unix