What does the \\x1a character mean and why does mysql_real_escape_string escape it?
\\x1a
mysql_real_escape_string
From the documentation:
mysql_real_e
It is a hexadecimal escape sequence for the SUB character.