Hi,
Recently i have migrated PB 8 to 19 version. In code im getting symbols while converting blob to string.So i have converted to encodingANSI! format in many places.. it is working fine.but in one place im struggling. please help me.
//sItemDIN = string(blobmid(is_source,il_pointer,long(mfieldsize)))
sItemDIN = string(blobmid(is_source,il_pointer,long(mfieldsize)),EncodingANSI!)
In the above line sitemdin has some symbols while debugging..
Regards,
Backya.
blob{4} thelenblob
theLenBlob = BLOB(' ')
BLOBEDIT(TheLenBlob,1,BLOBMID(is_source,il_pointer,4))
is it right????
i have tried that Its not working..
BLOBEDIT(TheLenBlob,1,BLOBMID(is_source,il_pointer,4),EncodingANSI!)
ls_out=string(thelenblob,EncodingANSI!)
i got ls_out as empty string
is this a problem??
Regards
Backya