Forum Discussion
virender_prajap
8 years agoNew Contributor III
Hi,
Thanks for the quick reply. But, it seems there is some problem. When I am trying to implement the solution, I am getting below error :
"String type does not have a method named: subarray. "
Please suggest.
- tstack8 years agoFormer Employee
Can you provide the expression you are using?
Sounds like you didn’t call
iconv.encode()
to turn the string into a byte array.- dmiller8 years agoFormer Employee
Related docs: https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/336888086/ICONV+-+Encode+and+Decode+Functions
- deepak_shaw5 years agoContributor
Thanks, where to use, i’ trying below expression in map snap but no luck
iconv.decode($payload.content,“UTF-8”)