Bug 15684: Fix encoding issues with quote upload
authorMarc Véron <veron@veron.ch>
Thu, 28 Jan 2016 21:05:58 +0000 (22:05 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 4 Feb 2016 11:39:57 +0000 (12:39 +0100)
commit6eb380da3b8908b7a909828082fe95f6d221fe19
treeca0b792fb014c171b5aef0db38ae7a2f8bba730d
parentf9978afb60aa845de07fa0c31e1b35b208a8cabb
Bug 15684: Fix encoding issues with quote upload

To verify:
- Download attachment 'Goethe with umlaut' from Bug 15684
- Go to Tools > Quote Editor
- Click "Import quotes" and select the file
- The quotes display in a table. Click 'Sav quotes'
- Result: Nothing happens

To test:
- Apply patch
- Repeat steps above
- Verify that you get a message '2 quotes saved' and that the quotes
  are added in to the quotes table
- Test with attachment 'sample quotes' as well

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 59fc32531071e3d4594a8b5555acd41a17921de3)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt
tools/quotes/quotes-upload_ajax.pl