Why does text displayed with system(“type example.txt”) appear different than using type example.txt in the terminal?
I have written a string to a .txt file and am trying to output it to the terminal, but something is going wrong during this and I’m getting a bunch of �’s.