Redis-clojure uses the counts reported by Redis as character counts, while Redis specs clearly say they are byte counts.
The correct way to go about this is probably to go through java.nio.charset.Charset/defaultCharset.
Right now redis-clojure isn't safe for non-ASCII data.
Redis-clojure uses the counts reported by Redis as character counts, while Redis specs clearly say they are byte counts.
The correct way to go about this is probably to go through java.nio.charset.Charset/defaultCharset.
Right now redis-clojure isn't safe for non-ASCII data.