Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Yup, this often depends upon the text editor being used. Some text editors are happy with simply only CR (chr 13) or LF (chr 10), while others seem to expect CR+LF sequence. I've run into situations where the text editor assumed that there was a LF following every CR -- so whenever you loaded text that was terminated with only CR it "ate" the first character on the next line. Once had a headache with an application that was generating LF+CR sequences that would confuse most text editors. Running TYPE to display the file wouldn't show anything unusual. Reading the text file in one text editor would show double-spaced lines, while another would show double-spaced lines with the first character missing from every line except the first.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement