Re: Re: How to recognise url in a block of text
| From: | AYSERVE.NET | Date: | Sat, 21 Oct 2006 11:21:00 +0000 |
| Subject: | Re: Re: How to recognise url in a block of text | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243421@lists.php.net to get a copy of this message | ||
Wow, that was deep but I'll try to see to what you're saying.
Bunmi
www.ayserve.net
www.budelak.com
Robin Vickery wrote:
On 18/10/06, AYSERVE.NET <info@ayserve.net> wrote:Hello Guys, I thought I was home and dry when the program worked fine on my windows but when I ran from my Linus server, I keep getting a url like: http://www.website.com/pdf/ED1.pdf%A0 instead of http://www.website.com/pdf/ED1.pdf.I'd look at the text that you're working on rather than the regexp. It looks like some characterset conversion is going wrong - 0xA0 is the latin-1 non-breaking space character. I'm expect that on your linux machine that it's being converted to %0A at some point which is perfectly valid in a URL. But I'm just guessing. -robin