Hi everyone. I have an application where users submit text files and then based on some rules, the application gives instant responses of whether the submitted text file is right or wrong.
What actually happens behind the scenes is that I have the correct text file on the server and then I simply compare the submitted text file line by line against it.
The problem now is that files submitted from Windows OS are marked as incorrect though when opening the file in a text editor and comparing to the file on the server they are similar.
I have also carried some tests on Linux using the diff tool and it actually shows there's a difference in all the lines yet to the eye there's none.
Thanks!