
11 Feb
2011
11 Feb
'11
10:48 a.m.
On 11/02/2011 01:21, Chad Nelson wrote:
You may well be right, for your UTF-8-only code. For my design, it was more efficient to create separate iterators for UTF-8, UTF-16, and UTF-32 than to try to make one completely generic UTF-anything iterator. That's what I meant by "fully generic."
This doesn't make any sense whatsoever. The code to deal with different UTF encodings cannot be the same, so you cannot write generic code to deal with all those encodings.