Skip to main content
Known Participant
Jun 24, 2024 2:37 PM UTC
Question

Convert text to UTF-8

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

4 replies

stefanhelzle0001
Brainy
Jun 24, 2024 5:27 PM UTC

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

karumurua531442
Participating Frequently
Jun 25, 2024 5:10 AM UTC

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

Known Participant
Jun 26, 2024 5:22 AM UTC

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
Brainy
Jun 26, 2024 7:10 AM UTC

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.