Re: encoding a + sign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/1/05, Diana Castillo <diana@xxxxxxxxxxxx> 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" <rory.browne@xxxxxxxxx>
> To: "Diana Castillo" <diana@xxxxxxxxxxxx>
> Cc: <php-general@xxxxxxxxxxxxx>
> Sent: Monday, August 01, 2005 6:43 PM
> Subject: Re:  encoding a + sign
> 
> 
> > use &#43;
> >
> > check out www.asciitable.com
> >
> >
> >
> > On 8/1/05, Diana Castillo <diana@xxxxxxxxxxxx> 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: diana@xxxxxxxxxxxx
> >> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux