On 8/1/05, Diana Castillo <[EMAIL PROTECTED]> wrote:
> I used this "%2B" instead of the + sign and it works, what type of encoding
> is that?

%2B looks like something that would appear in a URL, usually in the
QUERY_STRING(which is part of the URL).

&#43; is the format you would use in an XML document itself.

If you're using php check out www.php.net/urlencode and
www.php.net/htmlspecialchars and www.php.net/htmlentities those urls
are from memory, so may not be completely accurate. Let me know if
they're not, and I'll find the right ones for you.

> ----- Original Message -----
> From: "Rory Browne" <[EMAIL PROTECTED]>
> To: "Diana Castillo" <[EMAIL PROTECTED]>
> Cc: <php-general@lists.php.net>
> Sent: Monday, August 01, 2005 6:43 PM
> Subject: Re: [PHP] encoding a + sign
> 
> 
> > use &#43;
> >
> > check out www.asciitable.com
> >
> >
> >
> > On 8/1/05, Diana Castillo <[EMAIL PROTECTED]> wrote:
> >> what type of encoding should I use to send a "+" sign via XML?
> >>
> >>
> >> --
> >> Diana Castillo
> >> Destinia.com
> >> C/Granvia 22 dcdo 4-dcha
> >> 28013 Madrid-Spain
> >> Tel : 00-34-913604039 Ext 216
> >> Fax : 00-34-915228673
> >> email: [EMAIL PROTECTED]
> >> Web : http://www.hotelkey.com
> >>      http://www.destinia.com
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
> 
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to