|
Posted by Rory Browne on 08/01/05 20:25
On 8/1/05, Diana Castillo <diana@hotelkey.com> 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).
+ 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@gmail.com>
> To: "Diana Castillo" <diana@hotelkey.com>
> Cc: <php-general@lists.php.net>
> Sent: Monday, August 01, 2005 6:43 PM
> Subject: Re: [PHP] encoding a + sign
>
>
> > use +
> >
> > check out www.asciitable.com
> >
> >
> >
> > On 8/1/05, Diana Castillo <diana@hotelkey.com> 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@hotelkey.com
> >> 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
> >>
> >>
> >
>
>
Navigation:
[Reply to this message]
|