Hai provato a cambiare il charset in utf8 qui?

$header.= "Content-type: text/html; charset=iso-8859-1\r\n"