, encoding it to <script> prevents the browser from executing it."}},{"@type":"Question","name":"What is the difference between HTML encoding and URL encoding?","acceptedAnswer":{"@type":"Answer","text":"HTML encoding escapes characters that are special in HTML markup. URL encoding (percent-encoding) escapes characters that are special in a URL. They use different escape sequences — for example, a space becomes &#32; in HTML but %20 in a URL."}},{"@type":"Question","name":"Does this tool handle Unicode characters?","acceptedAnswer":{"@type":"Answer","text":"Yes. You can choose to encode all non-ASCII characters as numeric HTML entities (e.g., € for €), which is useful for ensuring compatibility with older systems that do not support UTF-8."}}]}]}