Michael
It is not that simple because it also repeats the chars after the special
chars. I will have to keep working on this.
Thank you very much for your time.
Regards

dhcmega

On Thu, Jul 2, 2009 at 4:12 PM, Michael Bochkaryov <[email protected]>wrote:

> I'm not so familiar with php but after decoding hex string I really
> see 0x00 characters that may be treated as end of zero-finished
> string.
> Of course you can make workaround and drop all "%00" substrings before
> urldecode'ing
>
>
> 2009/7/2 dhcmega <[email protected]>:
> > Michael
> > I have tried to urldecode it (with php) but the %00 (null) breaks the
> > string.
> > Besides I am receiving "vĂ¡ca" but the <ud> has "V%C3%A1ca%00c%00a" it
> > repeats "ca" at the end.
> > Should I use some kind of uri decode? I can not find it in php.
> > Thanks again!!!
> >
> > dhcmega
> >
> > On Thu, Jul 2, 2009 at 12:30 PM, Michael Bochkaryov <
> [email protected]>
> > wrote:
> >>
> >> And now you have MO text in <ud> XML tag as URI-encoded string ;-)
> >>  <ud>V%C3%A1ca%00c%00a</ud>
> >>
> >> Just parse XML and convert string from URI encoding.
> >>
> >>
> >> 2009/7/2 dhcmega <[email protected]>:
> >> > 2009-07-02 12:08:47 [5232] [4] DEBUG: XMLBuild: XML: <<?xml
> >> > version="1.0"
> >> > encoding="UTF-8"?>
> >> > <message cid="1">
> >> >         <submit>
> >> >                 <oa>            <number>1234567890</number>
> >> > </oa>
> >> >                 <da>            <number>1234</number>
> >> > </da>
> >> >                 <ud>V%C3%A1ca%00c%00a</ud>
> >> >                 <pid>0</pid>
> >> >                 <dcs>           <coding>0</coding>
> >> >                 <alt-dcs>0</alt-dcs>
> >> >                 <compress>0</compress>
> >> > </dcs>
> >>
> >>
> >>
> >> --
> >> Regards,
> >> Michael Bochkaryov
> >> www.rattler.kiev.ua
> >
> >
>
>
>
> --
>  Regards,
> Michael Bochkaryov
> www.rattler.kiev.ua
>

Reply via email to