开发者

Komodo IDE FTP (ASCII, binary) end-of-line characters

开发者 https://www.devze.com 2023-04-10 02:52 出处:网络
I\'ve some problem when working on remote files (perl scripts) with Komodo IDE. There is (as far as I know) no way to change ftp transfer mode from binary to ASCII, which result in \"^M\" character at

I've some problem when working on remote files (perl scripts) with Komodo IDE. There is (as far as I know) no way to change ftp transfer mode from binary to ASCII, which result in "^M" character at the end of every line. My setup is Linux server, and Windows client. Is there any way to 开发者_StackOverflow中文版solve this issue without nessecity of correcting saved file on Linux every time. This behaviour disqualify Komodo IDE, which was my favourite IDE until now.


The "^M" you observe has nothing to do with your file being ASCII, but line ending format (carriage return and line feed characters.)

I have not verified this, but here's a link showing how to save files in Komodo using a different line ending method. Saving files in DOS mode is not needed anymore, since most editors recognize UNIX file format nowadays.


Add switch -w to your Perl shebang.

0

精彩评论

暂无评论...
验证码 换一张
取 消