Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一部のサーバーでは、新しい行がサーバーによって取り除かれます。
これは、ユーザーが FTP クライアントから php スクリプトをアップロードし、ファイルが UTF-8 でエンコードされている場合に発生します。
では、UTF-8 エンコーディングを維持しながら改行を維持するにはどうすればよいですか。これは、コメントを残したり、{} で IF ステートメントを閉じたりしないとエラーが発生するためです。
私が使用しているエディターは Webmatrix と Notepad++ です。