updating docs to account for encoding