dear
this command line
ls_Base64Str = lnv_CoderObject.Base64Encode(Blob(ls_hexvalues , EncodingANSI!))
is not working correctly, so the ls_hexvalue varible already converted to Blob (binarry vairlable ) by using Blob command inside lnv_codeerobject,base64encode command as the above line, i want encoded base64 without use Blob command, how ?
regards
If you are using a normal PowerBuilder String (UTF16-LE) then you can use the Blob function without any Encoding Enumeration.
That leads to:
ls_Base64Str = lnv_CoderObject.Base64Encode(Blob(ls_yourString))
thanks
Or try the crypto API Example from Roland Smith's website.
https://www.topwizprogramming.com/freecode_cryptoapi.html.
This offers an encoding for a string: => of_encode64 (string as_message) returns string
hth
Arnd