htmlentities()和htmlspecialchars()函数的区别htmlentities()函数可以将所有适用的字符转换为HTML实体;如果不指定编码的话遇到中文会乱码。htmlspeci...