05-03-2018 03:55 AM
I am trying to give input to XML parser after transcoding into UTF-8 format but the special character is getting converted to the garbage value
Input : Before XML parser
<?xml version="1.0" encoding="UTF-8"?><UTF_encoded>Š</UTF_encoded>
<UTF_encoded1>Montréal,</UTF_encoded1>
<street_address></street_address>
Output AfterXMLpeaser
“UTF_encoded”: "Å "
“UTF_encoded1”: “Montréal,”
“zipcode”: “11767”
“street_address”: "ç¥å¥å·çå·å´å¸ä¸ååºæ¨æ4-34-1, ï½³ï¾ï½¨ï¾ï¾ï½°ï¾ï¾405, "
“full_home_address”: “ç¥å¥å·çå·å´å¸ä¸ååºæ¨æ4-34-1”
“national_identifier_type”: “ç¥å¥å·çå·å´å¸ä¸ååºæ¨æ4-34-1”
Can someone please help