[FX.php List] Sending carriage returns within a string into FM field

Dale Bengston dbengston at tds.net
Thu Mar 3 07:10:08 MST 2011


Indeed, Joel. It goes something like this:

Classic Mac OS: CR
UNIX / OS X: LF
Windows: CRLF

Where 
CR (carriage return) = \r
LF (newline or line feed) = \n

Dale

PS: Tying this to Bob P's original problem, \r and \t must be surrounded by double quotes to evaluate properly in PHP.


On Mar 2, 2011, at 10:19 PM, Joel Shapiro <jsfmp at earthlink.net> wrote:

> If I remember correctly, \r vs \n is related to whether the server is running Windows or Mac OS.
> 
> (If I don't remember correctly, well then never mind ;)
> 
> -Joel
> 
> 
> On Mar 2, 2011, at 5:56 PM, Tim 'Webko' Booth wrote:
> 
>> 
>> On 03/03/2011, at 12:50 PM, Bob Patin wrote:
>> 
>>> So you're not using an \n after the \r; interesting. I thought it was necessary...
>> 
>> I only discovered this when I was trying to parse checkbox results into FileMaker in a way that made the checkboxes work - you woulda thunk it required \r\n but that didn;t work...
>> 
>> \r does...
>> 
>> Hope it works out for you
>> 
>> T
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list


More information about the FX.php_List mailing list