Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6636 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

The simple question is - when I export data out of FMP as a csv file - the carriage returns, i.e. hence all paragraph breaks, disappear.

New to me, I assume the more complex question is in the character set encoding and how data is read in the target application. In fmp Help it states that in "csv export, carriage returns export as vertical tabs" - I don't understand what that means.

The data is eventually being uploaded to a PHP database, but, at this stage, I'm trying to read the csv data in TextEdit, in order to isolate what I am exporting out of fmp.

Any comments, helpful hints, explanations, or advice will be appreciated.

Mona

Posted

in pretty much all text data formats the carriage return is reserved to mean end-of-record. So returns in your data need to be substituted for something else to keep your records intact. FMI chose the Vertical Tab for this (ascii 11). The character encoding is not going to change anything to that.

In your PHP code you can easily substitute out the ascii 11 and replace it with Ascii 10 (LF) if you need Mac line endings, Ascii 13 (CR) if you need Unix line endings or Ascii 13+Ascii10 (CRLF) if you need Windows line endings

This topic is 6636 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.