Author Topic: Tech-tip : Saving in unix format  (Read 1681 times)

0 Members and 1 Guest are viewing this topic.

Offline EZ

  • Hero Member
  • *****
  • Posts: 1081
    • Babelnotes.be
Tech-tip : Saving in unix format
« on: July 13, 2006, 10:58:17 AM »
Text files (like scripts) look the same on unix and windows. However, such text file uses invisible characters to represent tabs and endofline events. These last ones are the reason why there is a difference between unix and windows text files. they use a different internal representation of an end-of-line event.

We provide our scripts in windows text format, so most people can easily edit the script(s) in notepad or another text editor. However, once you want to upload them to your unix host, you will have to convert them to a unix format in order to circumvent the usual 500 error.

We used to promote textpad to do this conversion but we had not noticed that it had become shareware in the meantime. All FAQs and the PathToPerl guide have now been adapted to promote Notepad++ as a good text editor for scripts. It has a menu option 'convert to unix' and 'convert to windows' so it should be very straight forward to use.

Have a look at :
Notepad++ site