tree: Add comment on #65 fix
diff --git a/tree.go b/tree.go index 47af948..b9d51e4 100644 --- a/tree.go +++ b/tree.go
@@ -118,6 +118,7 @@ } n.children = []*node{&child} + // []byte for proper unicode char conversion, see #65 n.indices = string([]byte{n.path[i]}) n.path = path[:i] n.handle = nil @@ -169,6 +170,7 @@ // Otherwise insert it if c != ':' && c != '*' { + // []byte for proper unicode char conversion, see #65 n.indices += string([]byte{c}) child := &node{ maxParams: numParams,