I read a text file with QTextStream.
1.If I read contents with readLine (),it is ok.
2.Now I want to know how many rows first before I process the contents,so I use readALL(),and split it with "\n",I find that some text can not be splitted with "\n",so I try "\r\n" or "\r",and find it is still not ok.and the number of the splitting strings is always 1.
How to do ?