From 22234228e6027efe9bf612e9960c4fa64ca3e404 Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Sun, 12 Jun 2016 22:53:11 +0200
Subject: [PATCH] Added some preliminary utf16le handling

---
 .gitattributes | 4 ++++
 utf16le.clean  | 2 ++
 2 files changed, 6 insertions(+)
 create mode 100644 .gitattributes
 create mode 100755 utf16le.clean

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..03da96c
--- /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 0000000..e79f59a
--- /dev/null
+++ b/utf16le.clean
@@ -0,0 +1,2 @@
+#!/bin/sh
+cat $1 | dos2unix
-- 
GitLab