KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I found this in the wikipedia article on utf-8: Sorting of UTF-8 strings as arrays of unsigned bytes will produce the same results as sorting them based on Unicode code points. That would lead me to believe that for comparison purposes (sorting, binary search, etc) that comparing two byte arrays (i.e. byte-by-byte like memcmp) of utf-8 encoded strings would give the same results as comparing the actual unicode strings. Is this true?
Tags (comma-separated)
Save Edits
Cancel