From 5ff2f7acd636131a6b94bc44cbcef2dd02dd4e43 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 9 Jul 2013 10:51:09 +0200 Subject: use iconv to convert string to UTF-16LE This should handle multi byte characters correctly. Please not warnings about line breaks, etc have been removed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e89dd9b..ce6e577 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ all: nthash.c check: $(ECHO) -n "testing123" | ./nthash | \ - $(GREP) '^3e 67 8b 26 6d 1d 44 9e 53 1e 92 be c3 3b 6d 27$$' + $(GREP) '^3e678b266d1d449e531e92bec33b6d27$$' install: $(INSTALL) -D -m0755 nthash $(DESTDIR)/usr/bin/nthash -- cgit v1.2.3-70-g09d2