Skip to main content
June 24, 2024
Question

Convert text to UTF-8

  • June 24, 2024
  • 4 replies
  • 0 views

How to convert text to UTF-8? Do we have any function or plugin for this?

4 replies

stefanhelzle0001
June 24, 2024

Not sure what you are trying to do. Any text in Appian is unicode.

karumurua531442
June 25, 2024

hi [mention:91b571e57a1b4955866bb7c22118f899:e9ed411860ed4f2ba0265705b8793d05]  can you post more context on your requirement please

June 26, 2024

Hi
[mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] , [mention:3510a5189ce1477eaf2e09f5858c87e9:e9ed411860ed4f2ba0265705b8793d05] , [mention:50c764dbb25f42f39e23ebb00ceefca1:e9ed411860ed4f2ba0265705b8793d05] , thanks for you response.

Java Code:-

byte[] secretString = hmac256((appsecret).getBytes(UTF8), current_time);

What could be equivalent Appian code for above java code snippet? Thanks.

stefanhelzle0001
June 26, 2024

That does not exist in Appian. Appian does not know about bytes etc.

For crypto topics, try one of the available plugins. If none of it does fit your requirements, you will have to develop a plugin yourself.