为什么 HTML 标签被替换为“+AD-”?
Why HTML tags are replaced by '+AD-'?
我有一个看起来不错的 HTML 文件,但是当我 运行 对其进行查找和替换时,我得到的文件更改如下。我尝试通过 windows 记事本重新保存文件并设置编码,但我仍然得到这些奇怪的字符。
之前:
<TABLE width='100%' border='0' bgcolor='#6699cc' cellspacing='0' cellpadding='0' ...
之后:
+ADw-TABLE width+AD0-'100+ACU-' border+AD0-'0' bgcolor+AD0-'+ACM-6699cc' cellspacing+AD0-'0' cellpadding+AD0-'0' ...
您需要正确设置编码。
这似乎是 UTF-7。
UTF-7 is used by less than 0.003% of websites.[1] UTF-8 has since 2009 been the dominant encoding (of any kind, not just of Unicode encodings) for the World Wide Web (and declared mandatory "for all things" by WHATWG[2]).
我有一个看起来不错的 HTML 文件,但是当我 运行 对其进行查找和替换时,我得到的文件更改如下。我尝试通过 windows 记事本重新保存文件并设置编码,但我仍然得到这些奇怪的字符。
之前:
<TABLE width='100%' border='0' bgcolor='#6699cc' cellspacing='0' cellpadding='0' ...
之后:
+ADw-TABLE width+AD0-'100+ACU-' border+AD0-'0' bgcolor+AD0-'+ACM-6699cc' cellspacing+AD0-'0' cellpadding+AD0-'0' ...
您需要正确设置编码。
这似乎是 UTF-7。
UTF-7 is used by less than 0.003% of websites.[1] UTF-8 has since 2009 been the dominant encoding (of any kind, not just of Unicode encodings) for the World Wide Web (and declared mandatory "for all things" by WHATWG[2]).