Encoding issues with Non-US characters in orchestrator input object #1897
Replies: 2 comments 2 replies
-
Adding @AnatoliB, who might have some insights on this given his experience with the PowerShell worker. Just to confirm, you see the right characters printed when you use |
Beta Was this translation helpful? Give feedback.
-
Hello, Looking to revive this topic as I have come across the same situation, except I am having a problem with a currency symbol £ (British Pound). I can see the HTTP Trigger receiving the correct data, the £ symbol is visible. As soon as the input is passed to the Orchestration, I also receive "�" I have tried several suggestion such as UTF-8 encoding, but nothing seems to encode the symbol correctly. This is either before or after the input is passed to the orchestration. $ (Dollar) appears to be encoded fine and is passed on. Kind regards, TK |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm using Azure Durable Functions with PowerShell.
I have a Client function with a HTTP trigger, in charge of passing the HTTP Body JSON-serialized object to my orchestrator which need it to determine which activity functions it will trigger.
The input JSON contains non-US characters (french ones: "é"/"à"/...), but my Client function seems to be able to read them.
Write-Host
instruction prints well the entire JSON object.Then I'm passing the same JSON as an input for a new orchestrator. When I'm trying to print the content of that JSON inside the orchestrator, it's now printing "�" instead of french characters...
Default encoding seems to be UTF-8. I tried to re-encode the same JSON with iso-8859-1, but still the same issues...
I don't really understand why I could face this kind of issues between different functions, any help is welcome! :)
Here is my code:
Client function (HTTP Trigger)
Orchestrator
And the corresponding log with local emulator:
Beta Was this translation helpful? Give feedback.
All reactions