I believe last line of function $.fieldValue should looks like:
return $(el).val().replace( /\r?\n/g, "\r\n" );
Otherwise standard submit and ajax submit will result with different newline symbol on server script on linux machine.
Please refer how jQuery serialize form.
Best Regards.