You scared me to death. :-)
Well, not quite so; in fact, I first assumed that I rather should not trust you, but… it sounds quite troublesome enough, so I tested it.
Of course, what you say turns out to be not true: everything works correctly with any delimiters, including the characters you mentioned in your example. I used .NET versions 3.5 for the test, which is old enough.
You need to take care about your testing skills. :-)
[EDIT]
What you say about
File.ReadAllLines
is not true. (Again!)
Please, be more careful. Please see my comment below. In general case, you can use another
File.ReadAllLines
method, with encoding:
http://msdn.microsoft.com/en-us/library/bsy4fhsa%28v=vs.110%29.aspx[
^].
But if your problem was '^' (it is not!) it would be irrelevant anyway.
Look, you need to 1) do your work methodically; 2) use the debugger; 3) learn what Unicode is and how it works — write now you don't have a clue.
—SA