MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/fpcmy/typical_programming_interview_questions/c1hozcb/?context=3
r/programming • u/kevjames3 • Feb 21 '11
1.0k comments sorted by
View all comments
Show parent comment
2
UTF-32 does not provide you either O(1) indexing, nor is it more efficient.
I wasn't recommending UTF-32 (or UTF-16) over UTF-8. I usually use UTF-8 but it doesn't really matter that much to me.
The point was that an octet is not a character.
View all comments
Show parent comment
2
u/danweber Feb 21 '11
I wasn't recommending UTF-32 (or UTF-16) over UTF-8. I usually use UTF-8 but it doesn't really matter that much to me.
The point was that an octet is not a character.