EDN Admin
Well-known member
I have xml file with encoding="UTF-8" at the beginning
and inside it I have the following:
<item id="item1 %d8%a7%d9%84%d8%ad%d9%84%d9%88%d9%8a%d8%a7%d8%aa%20%d8%a7%d9%84%d8%b3%d9%87%d9%84%d8%a9%20%d8%a7%d9%84%d8%aa%d8%ad%d8%b6%d9%8a%d8%b1.html"/>
Value of href refers to an html file. This file has filename in Arabic and it appears as mentioned above in the xml file.
What encoding do I use in my C# code to get the Arabic value of this string
%d8%a7%d9%84%d8%ad%d9%84%d9%88%d9%8a%d8%a7%d8%aa%20%d8%a7%d9%84%d8%b3%d9%87%d9%84%d8%a9%20%d8%a7%d9%84%d8%aa%d8%ad%d8%b6%d9%8a%d8%b1
?
<span style="color:#0000ff; font-size:small
<span style="color:#0000ff; font-size:small
<span style="color:#0000ff; font-size:small
View the full article
and inside it I have the following:
<item id="item1 %d8%a7%d9%84%d8%ad%d9%84%d9%88%d9%8a%d8%a7%d8%aa%20%d8%a7%d9%84%d8%b3%d9%87%d9%84%d8%a9%20%d8%a7%d9%84%d8%aa%d8%ad%d8%b6%d9%8a%d8%b1.html"/>
Value of href refers to an html file. This file has filename in Arabic and it appears as mentioned above in the xml file.
What encoding do I use in my C# code to get the Arabic value of this string
%d8%a7%d9%84%d8%ad%d9%84%d9%88%d9%8a%d8%a7%d8%aa%20%d8%a7%d9%84%d8%b3%d9%87%d9%84%d8%a9%20%d8%a7%d9%84%d8%aa%d8%ad%d8%b6%d9%8a%d8%b1
?
<span style="color:#0000ff; font-size:small
<span style="color:#0000ff; font-size:small
<span style="color:#0000ff; font-size:small
View the full article