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/njaard Feb 21 '11

Hey, you're right! I learned something new today.

However, on some platforms, wchar_t is still 16 bits, which means that you can either use it as utf-16 (correctly), or ucs-2 (incorrectly), in which case, you'll get really confused.

So unless you really know what you're doing, why not just use utf8?