antirez / antirez/RESP3

Text type?

Open
#16 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
230
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I wonder what you think of adding a dedicated text type, which would be identical to the bulk-string, but would indicate UTF8-encoded unicode text as opposed to an arbitrary blob of bytes?

The difference to the client would be equivalent to how Python 3 differentiates `str` (for unicode) and `bytes` (for blobs). I think msgpack has [something similar](https://github.com/msgpack/msgpack/blob/master/spec.md#str-format-family).

Or perhaps this is the intended use-case for the "verbatim string" type?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.