I am trying to read a 25 MG file with UTF-8 words in it, massage the data and then write it back out preserving the UTF-8 encoding. Is there a way to read in an EOL terminated line one at a time and preserve the UTF-8?
Binary safe fread and fwrite recognize EOF but not EOL.
Binary safe fread and fwrite recognize EOF but not EOL.