on 2022 Dec 12 10:28 AM
Dear Experts,
I am modifying XML to CSV and the scenario is working fine but when there is any Arabic chars in the field then the converted values getting exchanged/combined with next field value. Please suggest.
Input
<?xml version="1.0" encoding="utf-8"?>
<n0:MT_EHS_VendorMaster xmlns:n0="http://NGL.com/EHS/FI/GOUP/Emp" xmlns:prx="urn:sap.com:proxy:SIK:/1SAI/TAS05143118925D6813EB20:740">
<Records>
<Name>1000030398</Name>
<DisplayName>حسام رحال</DisplayName>
<InvoiceMatchingLevel>6-way</InvoiceMatchingLevel>
<Status>Active</Status>
</Records>
<Records>
<Name>1000030398</Name>
<DisplayName>Roger</DisplayName>
<InvoiceMatchingLevel>2-way</InvoiceMatchingLevel>
<Status>Active</Status>
</Records>
</n0:MT_EHS_VendorMaster>
"Name","Display Name","Invoice Matching Level","Status"
"1000030398","حسام رحال","6-way","Active"
"1000030398","Roger","2-way","Active"
Hi Arvik,
I am not sure on the cause, but I think it is related to the number 6 and the Arabic being treated as right to left direction, so the 6 is being added to the left of the Arabic characters in the output. It does the same when using some online XML to CSV converters too.
I think you might have to add some additional characters to force the Arabic to be embedded left to right. I've not done this myself, but hopefully this documentation might point you in the right direction - 2.1 Explicit Directional Embeddings.
Hope this helps!
Regards,
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
11 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.