Does anyone have any idea of what may cause a .txt file linked to a file descriptor for output, to not be readable after char/strings are output to the text file? I am outputing char/strings to a .txt file using open(), read(), and write() and when I try and open the .txt output file to view what was output to it, I get "Could not open the file output.txt" gedit has not been able to detect the character coding. Please check that you are not trying to open a binary file. Select a character coding from the menu and try again." Any help would be greatly appreciated, and if the code is necessary I will post it as well.