is there a SuitScript way of decoding base 64 to r...
# suitescript
e
is there a SuitScript way of decoding base 64 to regular text?
m
Use the
N/encode
module
Copy code
var decoded = encode.convert({ 
  string: encodedString,
  inputEncoding: encode.Encoding.BASE_64,
  outputEncoding: encode.Encoding.UTF_8  
});
🙌 1
✅ 1
e
Thanks!