Tools > Export data produces a file badly encoded, when marc/xml file format is chosen. It works with CSV.
Created attachment 41129 [details] [review] Bug 14592 Export data bad encoding Tools > Export data produces a file badly encoded, when marc/xml file format is chosen. It works with CSV. To test: 1. Tools > Export data 2. Choose a limited interval of biblionumber 3. Export in marc/xml/csv. 4. Check files exported at 3: csv file is ok. marc/xml files are corrupted, ie badly encoded. 5. Apply the patch 6. Repeat steps 3&4, and confirm that all file formats are valid.
Created attachment 41465 [details] [review] [SIGNED OFF] Bug 14592: Export data bad encoding Tools > Export data produces a file badly encoded, when marc/xml file format is chosen. It works with CSV. To test: 1. Tools > Export data 2. Choose a limited interval of biblionumber 3. Export in marc/xml/csv. 4. Check files exported at 3: csv file is ok. marc/xml files are corrupted, ie badly encoded. 5. Apply the patch 6. Repeat steps 3&4, and confirm that all file formats are valid. Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Good catch Frederic. Even if the patch is trivial, I find the problem a big deal, libraries here are used to export their catalogs for sending to union catalogs and this bug is really nasty for them.
Created attachment 41514 [details] [review] [PASSED QA] Bug 14592: Export data bad encoding Tools > Export data produces a file badly encoded, when marc/xml file format is chosen. It works with CSV. To test: 1. Tools > Export data 2. Choose a limited interval of biblionumber 3. Export in marc/xml/csv. 4. Check files exported at 3: csv file is ok. marc/xml files are corrupted, ie badly encoded. 5. Apply the patch 6. Repeat steps 3&4, and confirm that all file formats are valid. Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Patch pushed to master. Thanks Frederic!
Pushed to 3.20.x will be in 3.20.3