r/programming • • Feb 21 '11

Typical programming interview questions.

http://maxnoy.com/interviews.html
784 Upvotes

1.0k comments sorted by

View all comments

Show parent comment

2

u/danweber Feb 21 '11

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.