From dd60594f41940d7c298b16965b4d51d853dc6dd6 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 20 Jul 2015 13:52:56 +0200 Subject: [PATCH] * Fix double encoding error in strings.pyx --- spacy/strings.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/strings.pyx b/spacy/strings.pyx index ccc186e5f..f69a144ee 100644 --- a/spacy/strings.pyx +++ b/spacy/strings.pyx @@ -123,7 +123,7 @@ cdef class StringStore: for i in range(1, self.size): string = &self.c[i] py_string = _decode(string) - file_.write(py_string.decode('utf8')) + file_.write(py_string) if (i+1) != self.size: file_.write(SEPARATOR)