プロジェクト

全般

プロフィール

Bug(バグ) #3478

RFC4180 に準拠せず、行末の改行コードが CRLF ではなく LF である

Shinichi Urabe10年以上前に追加. 10年以上前に更新.

ステータス:
Invalid(無効)
優先度:
Normal(通常)
担当者:
-
対象バージョン:
開始日:
2013-11-11
期日:
進捗率:

0%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

説明

概要

http://www.ietf.org/rfc/rfc4180.txt には以下のような記述がある.
ただし、CSV を開くソフトウェアによっては必ずしも RFC に定義されているフォーマットが適切とは限らないため、
改行コードを変更できるような仕組みにしておいたほうがよい

   While there are various specifications and implementations for the
   CSV format (for ex. [4], [5], [6] and [7]), there is no formal
   specification in existence, which allows for a wide variety of
   interpretations of CSV files.  This section documents the format that
   seems to be followed by most implementations:

   1.  Each record is located on a separate line, delimited by a line
       break (CRLF).  For example:

       aaa,bbb,ccc CRLF
       zzz,yyy,xxx CRLF

   2.  The last record in the file may or may not have an ending line
       break.  For example:

       aaa,bbb,ccc CRLF
       zzz,yyy,xxx

   3.  There maybe an optional header line appearing as the first line
       of the file with the same format as normal record lines.  This
       header will contain names corresponding to the fields in the file
       and should contain the same number of fields as the records in
       the rest of the file (the presence or absence of the header line
       should be indicated via the optional "header" parameter of this
       MIME type).  For example:

       field_name,field_name,field_name CRLF
       aaa,bbb,ccc CRLF
       zzz,yyy,xxx CRLF

履歴

#1 Shinichi Urabe10年以上前に更新

  • 対象バージョンv0.9.0 にセット

#2 Shinichi Urabe10年以上前に更新

  • ステータスNew(新規) から Invalid(無効) に変更

エスケープの対応は #3477 でまとめて行うので閉じます

他の形式にエクスポート: Atom PDF