csv文件的字段大小限制 [英] field size limitation of csv file
本文介绍了csv文件的字段大小限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道单个字段的大小是否有限制,可以保存在csv文件中?我知道CSV文件本身的大小只取决于操作系统。
I was wondering if there is a limit to the size of a single field that can be saved in a csv file? I understand that the size of the CSV file itself is dependent only on the operating system.
谢谢。
推荐答案
CSV的历史记录在维基百科中有所描述。与CSV文件格式的正式规范最接近的是 RFC4180 。
The history of CSV is described at Wikipedia. The closest thing to a formal specification of the CSV file format is RFC4180.
这两个文档都不描述对字段大小的任何限制。在实践中,你使用的工具可能有某种限制,因为大多数CSV解析器将缓冲记录行,然后拆分它。
Neither of these documents describe any limits on the size of a field. In practice the tooling you use might have some sort of restriction, as most CSV parsers would buffer the record line, prior to splitting it.
这篇关于csv文件的字段大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文