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

前端 未结 8 1628
[愿得一人]
[愿得一人] 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:33

    If any one had the same problem as me and the charset was already correct, simply do this:

    1. Copy all the code inside the .html file.
    2. Open notepad (or any basic text editor) and paste the code.
    3. Go "File -> Save As"
    4. Enter you file name "example.html" (Select "Save as type: All Files (.)")
    5. Select Encoding as UTF-8
    6. Hit Save and you can now delete your old .html file and the encoding should be fixed

提交回复
热议问题