Hi Jonathan -

I had a similar problem after a file had gone through a PLP, and I fixed
it by just replacing CHR10 with <BR> tags & CHR10+CHR10 with <P> tags --
even though the hex code shows that the CHR13 is in there, this seemed
to work well for me, give it a shot.

Jonathan Trow wrote:
> 
> I am trying to read in a text file then replace the line feeds and carriage
> returns (ASCII values chr13 + chr10) with a <br> tag. I understand that
> these two are commonly used together, but when I use the replace function it
> doesn't seem to recognise it. The problem only seems to happen with this
> combination, it'll work if I use any other ASCII values.
> 
> The problem only occurs when I use cfhttp to retrieve the file, if I enter
> the text via a form , It'll work...
> 
> any ideas guys?
> 
> Jon Trow
> 
> Circle.com
> ------------------------------------------------------------------------------
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send 
>a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

-- 
Peter Ivanick
Web Developer 
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]    
Phone: 215.573.2306     Fax: 215.573.8777
http://www.vet.upenn.edu/
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to