Use base64 to encoding cache items that can't be interpreted as UTF-8.