HTML encoding issues - “” character showing up instead of “ ”

前端 未结 8 1633
[愿得一人]
[愿得一人] 2020-11-22 10:55

I\'ve got a legacy app just starting to misbehave, for whatever reason I\'m not sure. It generates a bunch of HTML that gets turned into PDF reports by ActivePDF.

T

8条回答
  •  不知归路
    2020-11-22 11:43

    Problem: Even I was facing the problem where we were sending '£' with some string in POST request to CRM System, but when we were doing the GET call from CRM , it was returning '£' with some string content. So what we have analysed is that '£' was getting converted to '£'.

    Analysis: The glitch which we have found after doing research is that in POST call we have set HttpWebRequest ContentType as "text/xml" while in GET Call it was "text/xml; charset:utf-8".

    Solution: So as the part of solution we have included the charset:utf-8 in POST request and it works.

提交回复
热议问题