.net - Why html escape >159? -
when comment on this answer forgetting escape '
linked mono sources. why on earth encode when character >159 && <256?
escaping characters code number greater 159 might safety measure against potential character encoding issues. such characters have different representations in different used character encodings.
it not sound rational, since same applies characters code number greater 127. plausible answer “why on earth encode” question afraid of having character data munged due encoding mismatches (data created in 1 encoding processed if in encoding).
Comments
Post a Comment