user6902338
user6902338

Reputation:

Trying to save a file as .dat on mac

My computer science class (java) requires us to save a series of numbers in an external file which we save to the project folder as a .dat file, and then write a program that accesses it.

The issue is that I have a mac, and I am limited to TextEdit, the files from which I cannot seem to be able to save as.dat files. (The course is pc based, and everyone else is using notepad)

Me trying to save the file

Also...my mac runs on OS X 10.9.5

Upvotes: 1

Views: 14006

Answers (1)

blackpen
blackpen

Reputation: 2414

In TextEdit, create a new file. Set the "Format->Make Plain Text" from menu.

Then do the "File->Save As". Save the file with "UTF-8" for "Plain Text Encoding".

Upvotes: 2

Related Questions