如果php文件用utf-8编码,那么会有额外的输出。如果用utf-8无bom格式编码,那么php文件中echo "<script language=javascript>alert('保存成功!');</script>";这句又会乱码。
请问这种情况怎么解决?