diff --git a/Sources/Document.swift b/Sources/Document.swift index 8640032..40cfa31 100644 --- a/Sources/Document.swift +++ b/Sources/Document.swift @@ -717,7 +717,7 @@ public struct Document : DictionaryLiteralConvertible, ArrayLiteralConvertible { return nil } - guard let string = String(bytes: key.keyData, encoding: NSUTF8StringEncoding) else { + guard let string = String(bytes: key.keyData[0..