[turba] importing / exporting TSV files - patch (take 1)

Jan Schneider jan@horde.org
Sat, 20 Apr 2002 12:36:03 +0200


Zitat von liamr@umich.edu:

> import and export both work.  it's a bit of a hack..  I decided not to
> use fgets
> because in my import because it only recognizes LF as end-of-line, not
> CR
> (macintosh) or CR/LF (pc).  So, I did something ugly w/ fread.

I was a bit slow, I just recognized that TSV means tab seperated values. :-)
Did you try if fgetcsv works with the delimiter set to "\t"?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft