EDIFACT encoder in Logic App escapes whitespaces in all string literal values
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)?