antirez / antirez/sds

Be aware some features will not work with variable length utf-8

Aperta
#185 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
5.6k
Fork
510
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Important Limitation
SDS does NOT provide UTF-8-aware character operations. For example:

sdslen() returns the byte length, not the character count
sdstrim() works on individual bytes, not UTF-8 grapheme clusters
sdstoupper() and sdstolower() use toupper()/tolower() on individual bytes (lines 783-794), which won't work correctly for UTF-8.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.