换行符:
chr(13)&chr(10)

php替换
$note=str_replace(chr(13).chr(10),"<br>",$note);