Summary: | runreport.pl badly encode accented characters | ||
---|---|---|---|
Product: | Koha | Reporter: | Frédéric Demians <f.demians> |
Component: | Command-line Utilities | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | kyle, liz, robin, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 15120 | ||
Bug Blocks: | 12544 | ||
Attachments: |
Bug 15133: encode correctly email generated by runreport.pl
Bug 15133: encode correctly email generated by runreport.pl [PASSED QA] Bug 15133: encode correctly email generated by runreport.pl |
Description
Frédéric Demians
2015-11-05 07:56:08 UTC
Created attachment 44462 [details] [review] Bug 15133: encode correctly email generated by runreport.pl /misc/cronjobs/runreport.pl send badly encoded email in text/csv (partially ok in HTML). TEST: 1. Send by email a report containing a subject with accented characters and resultset with accented characters. For example: ./runreport.pl --subject="éèà" --to=me@home.org 1 ./runreport.pl --format=html --subject="éèà" --to=me@home.org 1 The first email contains badly encoded subject & message. The second email contains badly encoded subject, but correct message. 2. Apply the patch 3. Repeat 1 => No more strange characters. Created attachment 44525 [details] [review] Bug 15133: encode correctly email generated by runreport.pl /misc/cronjobs/runreport.pl send badly encoded email in text/csv (partially ok in HTML). TEST: 1. Send by email a report containing a subject with accented characters and resultset with accented characters. For example: ./runreport.pl --subject="éèà" --to=me@home.org 1 ./runreport.pl --format=html --subject="éèà" --to=me@home.org 1 The first email contains badly encoded subject & message. The second email contains badly encoded subject, but correct message. 2. Apply the patch 3. Repeat 1 => No more strange characters. Signed-off-by: Liz Rea <liz@catalyst.net.nz> Characters are correctly encoded now, thanks for that good spot. Created attachment 44561 [details] [review] [PASSED QA] Bug 15133: encode correctly email generated by runreport.pl /misc/cronjobs/runreport.pl send badly encoded email in text/csv (partially ok in HTML). TEST: 1. Send by email a report containing a subject with accented characters and resultset with accented characters. For example: ./runreport.pl --subject="éèà" --to=me@home.org 1 ./runreport.pl --format=html --subject="éèà" --to=me@home.org 1 The first email contains badly encoded subject & message. The second email contains badly encoded subject, but correct message. 2. Apply the patch 3. Repeat 1 => No more strange characters. Signed-off-by: Liz Rea <liz@catalyst.net.nz> Characters are correctly encoded now, thanks for that good spot. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Why is this marked as an enhancement? Patch pushed to master. Thanks Frederic! This patch has been pushed to 3.20.x, will be in 3.20.6. Pushed to 3.18.13, and released. |