If an order note contains "\n", that line will not print in the exported CSV basket, because "\n" is an invalid character to Text::CSV->combine().
Created attachment 4744 [details] [review] patch
Single line patch, with note, in a subroutine used in a single place. Marking as Passed QA; feel free to contest if uncomfortable.
Pushed please test
"\n" is not a invalid character if you create the object with binary set. As the object is created at present there is also a problem with characters other than 7-bit ascii see the Important Note in perldoc Text::CSV
Hm, reading Colin's comment this seems to need more work. I am removing the 'patch sent' status.
Comment on attachment 4744 [details] [review] patch Already pushed.
Patch pushed and the changes are removed by bug 7302. Please open a new bug report if the issue still exists.