C testing framework. ASCII/Unicode portable version

Dimitrie O. Paun dimi at cs.toronto.edu
Wed Jan 23 14:38:10 CST 2002


On Wed, 23 Jan 2002, Alexandre Julliard wrote:

> Sure, I don't doubt that by spending enough time and energy we'll
> someday have a solution for all the problems caused by wanting to add
> the TCHAR stuff in the first place. It's a bit like adding cushions on
> the wall so you can keep banging your head on it without getting hurt
> too much.

:) Somehow I was expecting this :)

But you are correct, the problem is not as simple as it seems, and is hard
to see, without code, which approach is more preferable. I don't want to
use the TCHAR stuff just because I can, but because I think we can solve
some real problems with a little added complexity. The code will prove
with tradeoff is better.

Now, on a different note, you pointed out an interesting thing: we need to
test mixed A/W cases. We thus have four possible cases:
  (A,A), (A,W), (W,A), (W,W)
Should we test all of them?

What is supposed to happen when we have a W->A conversion involving
Unicode char which so not map to A?

--
Dimi.





More information about the wine-devel mailing list