0

Whenever I want to access a text file created on ubuntu using Windows, it looks as if the file extension is not recognised. I always have to choose open with and then select notepad.

Is there any way to create text files on ubuntu that are identical to windows text files?

3

You have to save it with an extension of ".txt" and select encoding (it appears when you save) as compatible with windows.

2

Txt files in ubuntu are made without an extension. thus every txt files in ubuntu
is ubuntu instead of ubuntu.txt you have to manually save it as .txt. or rename
the ubuntu to ubuntu.txt

1
  • even you have to change the encoding ..... Jun 19 '12 at 12:07
0

Remember that you must choose the correct line ending when you save the file. In 'Save As' dialog, select 'Windows' as line ending option. Otherwise, 'newline' character will not be recognized. If you are using Windows, you can open the file with Wordpad and save the file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.