False is returned for judging & quot;. The first double quotation mark is obtained when processing data from the database, and the last double quotation mark is obtained by the editor, the comparison result is false. Is it encoding or hidden characters? Is there any better detection method? False is returned when "" = "" is determined. The first double quotation mark is obtained from the database for data processing. The last double quotation mark is produced by the editor. The comparison result is false, is it encoding or hidden characters? Is there any better detection method?
Reply content:
False is returned when "" = "" is determined. The first double quotation mark is obtained from the database for data processing. The last double quotation mark is produced by the editor. The comparison result is false, is it encoding or hidden characters? Is there any better detection method?
"" There is a character in the middle. After json_encode is output, it is \ ufeff.
Encoding Problems.