不是整洁的代码,而是下载文件时一团糟?

| 有时,当我下载文件时,它们看起来糟透了: 例如。我有:
<?php get_header(); ?>
<div class=\"art-contentLayout\">
<?php include (TEMPLATEPATH . \'/sidebar1.php\'); ?>
<div class=\"art-content\">
.
.
.
但是当我下载它看起来:
<?php get_header(); ?><div class=\"art-contentLayout\"><?php include (TEMPLATEPATH . /sidebar1.php\'); ?><div class=\"art-content\">...
有时因为这个我得到php错误。 为什么会这样?我如何避免这种情况发生? 谢谢 PS:操作系统:Win 7,FTP客户端:Filezilla,编辑器:Notepad ++,在编辑器中检查了文本换行,我说有时会发生     
已邀请:
阅读有关换行符的历史(主要是LF与CRLF)的信息:http://en.wikipedia.org/wiki/Newline 就您而言,您只需要找到一个更好的文本编辑器即可使用,该编辑器将保留行尾并正确显示文件。     

要回复问题请先登录注册