"Dimitrie O. Paun" dimi@cs.toronto.edu writes:
This is why we _need_ to abstract constant strings out of the tests with something like the teststr() function I was advocating. This is the only way to get things like surrogates, etc. reliably used in tests.
Absolutely; but this has nothing to do with TCHAR at all, we need a convenient way to specify Unicode strings in any case. And it's easier to do if you don't have to mess with TCHAR at the same time, you can simply provide a bunch of Unicode constants.