EDIFACT encoder in Logic App escapes whitespaces in all string literal values

Strömberg Johannes 0 Reputation points
2025-12-11T15:23:17.8266667+00:00

We have a couple of logic apps which outputs EDIFACT messages using the EDIFACT encoder but for some reason it's adamant in it's escaping of whitespaces in string literals. We have used schemas from BizTalk and we've set up the following in the integration account agreement:

Apply UNA Segment - Checked

Character Sets and Separators - UNB1.1 - UNOC

Parameter Value
Input type Blank (we tried "Char" but it didn't save that choice)
Component Separator :
Data Element Separator +
UNA3 (Decimal Notation) Comma
UNA4 (Release Indicator) ?
UNA5 (Repetition Separator) whitespace
Segment Terminator '
Suffix None

No validation is active

We've had this solution running in BizTalk 2020 for years now and it's been fine, but running it in a Logic App it has this escaping issue. Example:

Output from BizTalk:

STS+1+3::87:All Ok. Status is green'

Output from Logic Apps (same input file):

STS+1+3::87:All? Ok.? Status? is? green'

How can we get the same behavior in Logic Apps as we had in BizTalk (i.e stop it from escaping whitespaces in string literals)?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.