On Fri, Mar 28, 2014 at 5:09 AM, Benedikt Ritter <brit...@apache.org> wrote:
> 2014-03-27 17:28 GMT+01:00 sebb <seb...@gmail.com>: > > > On 27 March 2014 15:49, Gary Gregory <garydgreg...@gmail.com> wrote: > > > FYI: > > > > > > Has anyone seen this? > > > > > > > > > https://ronaldduncan.wordpress.com/2009/10/31/text-file-formats-ascii-delimited-text-not-csv-or-tab-delimited-text/ > > > > > > It actually makes sense. Good luck editing such files though... > > > > Yes, how is one supposed to create them? > > > > I think those ASCII characters were used quite a lot in the early days > > of teletypes which had the appropriate keys. > > Also they were used in some serial line protocols. > > > > But of course once people needed to send binary data, escape codes or > > encoding had to be used. > > > > > I wonder if we should add a built-in format for this format? > > > > Are there (m)any files that use the format? > > > > Otherwise why bother ... > > > > I don't see this as a requirement for 1.0. Additional formats can easily > added in 1.1. Or does the API have to be changed to include this format? > IMO, this can be implemented now with a custom CSVFormat like any other format. The min level question is whether *we* should include a CSVFormat.ASCII constant. The max level question is, as outlined in the blog, because that makes processing simpler, we should refactor our code to know about certain kinds of format where escaping is superfluous. This refactoring could require visible changes, or not, who knows. But this is not 1.0 blocker. Gary > > > > > > > Gary > > > -- > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > > > Java Persistence with Hibernate, Second Edition< > > http://www.manning.com/bauer3/> > > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > > > Spring Batch in Action <http://www.manning.com/templier/> > > > Blog: http://garygregory.wordpress.com > > > Home: http://garygregory.com/ > > > Tweet! http://twitter.com/GaryGregory > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > > > > -- > http://people.apache.org/~britter/ > http://www.systemoutprintln.de/ > http://twitter.com/BenediktRitter > http://github.com/britter > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory