Home
Discussions
Community Q&A
XML error : invalid byte 1 of 1-byte utf-8 sequence
onkar-deshpande
Hello,
I am trying to convert JSON to XML and later on applying processes as per screenshot. But I am getting XML error while parsing. Can you please let me know what is missing from my end. Attaching screenshot of my process.
Not able to attach image.
Here is the sequence of processes -
Get page ---> JSON to XML ---> Remove Document Parts ---> Write Document ---> Read XML
Regards,
Onkar Deshpande
Find more posts tagged with
AI Studio
XML
Errors
Accepted answers
All comments
MartinLiebig
Often this is caused by wrong encoding. Have you checked this?
~Martin
onkar-deshpande
Hello,
Thanks for reply. While converting JSON to Xml its not adding any encoding. Can you please tell me how to do that as I am getting response in JSON format.
Regards,
Onkar
MartinLiebig
Write Document, Read XML and the Main process all have settings for the encoding. Especially if you get web pages you might want to set them to UTF-8.
Have you checked the written XML for any flaws?
~Martin
onkar-deshpande
Thanks for the reply. I was not setting any encoding standard while writing document due to which it was getting system default encoding standard. Now I have set the encoding standard to UTF-8 and its working.
Thanks for your help.
Regards,
Onkar
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)