> You are taking a simplistic view of parsing. There are plenty of
cases where you want to trigger on strings some of which you have seen
earlier, or on strings longer than N characters, etc. All of these
cases fall into the same problems as MBCS encodings.
Well, these are really hardcore cases, hardly ever needed for anybody except the regex library implementors
I just caught myself that I can hardly imagine the need of counting characters (not bytes) in the string except for TextOut.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com