this is my first question here. I have the file (it's epf data exported from itunes) like this example EPF dataset
the columns are separated by SOH (ASCII character 1) and the rows by STX (ASCII character 2) + “n”. Everything is good, but the app descriptions are multiline and contain end-of-line chars. So the issue is when I tried to read the file line by line
$fn = fopen("application_stripped","r");
while(! feof($fn)) {
$result = fgets($fn);
print_r($result);
}
fclose($fn);
it detects the first end-of-line (that is in the description), but not actual end-of-line symbol that is in the end of row. The input files are very large (up to 4-5gb). Any ideas how to handle it?
PS: sorry for my English! :-)