vfp6 does not have 9 as parametar in strconv :-(.
>"TEXT" is because error in copy/paste :-(.
>lPIB is only numbers and lDeoNaziva is empty string.
>
>Stil doesn't work after removing "TEXT".
>
>Any ideas?
>
>
>
>Zoran,
>
>There is a misplaced TEXT in your code. Instead of
>
>
>TEXT TO soapEnvelope TEXTMERGE NOSHOW
>TEXT
>
><?xml version="1.0" encoding="utf-8"?>
>
>
>prepare your SOAP call using
>
>
>TEXT TO soapEnvelope TEXTMERGE NOSHOW
><?xml version="1.0" encoding="utf-8"?>
>
>
>Also, beware that your document must contain only simple characters or valid UTF-8 sequences for. Any character outside 0-127 range that is not properly encoded will invalidate the XML document.
In that case, why not make the output text true utf-8? Assuming we're using CE latinic alphabet, i.e. codepage 1250:
lcTekst=Strconv(lcTekst,1)
lcTekst=Strconv(lcTekst,9,1250,1)