You meant chr(13) & chr(10) for the windows line ending, right?  And
the 'mac' line ending is only for Mac OS9 and earlier.  Mac OSX (since
it's *nix based) uses just the line feed.

cheers,
barneyb

On 6/10/05, Jared Rypka-Hauer - CMG, LLC <[EMAIL PROTECTED]> wrote:
> That will work in most browsers, Windows or otherwise, because they all seem
> to interpret chr(10) as enough for a newline even if the OS demands a cr-lf
> combination for a valid line break.
> 
> But if you're creating PDFs, you'll probably want writeOutput('some text
> here' & chr(10) & chr(13)) just to make sure that you're feeing it valid
> linefeeds. You may check the PDF documentation (what there is of it, anyway)
> to see exactly what character combo it wants for a newline. Generally, the
> character sets are as follows:
> 
> Mac: cr
> Win: cr-lf
> *NIX: lf
> 
> It's kinda twitchy, and a PITA, to get the characters just right...
> experiment and see what you come up with.
> 
> Laterz!
> 
> J
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209218
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to