Non-utf8 charsets support in cacher