[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-08-18 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Katrin Fischer  changed:

   What|Removed |Added

 Status|Signed Off  |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #13 from Katrin Fischer  ---
Hi Sophie, I think this problem is also fixed by 8687 - please reopen if I am
mistaken.

*** This bug has been marked as a duplicate of bug 8687 ***

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-08-16 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Katrin Fischer  changed:

   What|Removed |Added

   See Also||http://bugs.koha-community.
   ||org/bugzilla3/show_bug.cgi?
   ||id=8687

--- Comment #12 from Katrin Fischer  ---
I think there is an overlap of this patch and bug 8687 in both fixing the
encoding.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-08-16 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Katrin Fischer  changed:

   What|Removed |Added

 CC||katrin.fisc...@bsz-bw.de

--- Comment #11 from Katrin Fischer  ---
I am sorry, but I can't get this to work correctly.

When running the overdue_notices.pl -html ./ I ended up with an almost empty
html file, although I have pending ODUE notices of the type print in my
message_queue table and I have a print template defined in my notices.





pre {page-break-after: always;}
pre {white-space: pre-wrap;}
pre {white-space: -moz-pre-wrap;}
pre {white-space: -o-pre-wrap;}
pre {word-wrap: break-work;}





~  

Also, I can't create a PDF easily, because the required PISA version is not
available via apt-get for Ubuntu:


IMPORT ERROR!
Reportlab Version 2.1+ is needed!


The following Python packages are required for PISA:
- Reportlab Toolkit >= 2.2 
- HTML5lib >= 0.11.1 

Optional packages:
- pyPDF 
- PIL 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-08-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Srdjan Jankovic  changed:

   What|Removed |Added

  Attachment #28866|0   |1
is obsolete||

--- Comment #10 from Srdjan Jankovic  ---
Created attachment 30810
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30810&action=edit
[SIGNED-OFF] Bug 9208 : Fix encoding of overdue letters

When overdue letters templates contain symbol like euro,
  the conversion between html to pdf results in wrong encoding
  of special characters.
  Adding explicit utf8 encoding at the beginning of html file
  resolves this problem. This is already done for hold notices.

Signed-off-by: Srdjan 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-08-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Srdjan Jankovic  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-06-16 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

--- Comment #9 from Sophie MEYNIEUX  ---
Fixing some typo in the patch

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-06-16 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Sophie MEYNIEUX  changed:

   What|Removed |Added

  Attachment #28849|0   |1
is obsolete||

--- Comment #8 from Sophie MEYNIEUX  ---
Created attachment 28866
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28866&action=edit
Bug 9208 : Fix encoding of overdue letters

When overdue letters templates contain symbol like euro,
  the conversion between html to pdf results in wrong encoding
  of special characters.
  Adding explicit utf8 encoding at the beginning of html file
  resolves this problem. This is already done for hold notices.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

--- Comment #7 from Sophie MEYNIEUX  ---
I replace the initial patch with this new one that is compliant with what
already exists for holds notices.

To test :
* Write an overdue letter with some symbol like € (euro) for example)
* make sure you've got one borrower with overdue that will trigger overdue
notice
* run misc/cronjobs/overdue_notices.pl -html 
  and misc/cronjobs/printoverdues.sh to convert html file into pdf

Without patch, all non unicode charaters are wrong encoded.
With the patch, encoding is fine

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Sophie MEYNIEUX  changed:

   What|Removed |Added

  Attachment #13935|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Sophie MEYNIEUX  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

--- Comment #6 from Sophie MEYNIEUX  ---
Created attachment 28849
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28849&action=edit
Bug 9208 : Fix encoding of overdue letters

When overdue letters templates contain symbol like euro,
  the conversion between html to pdf results in wrong encoding
  of special characters.
  Adding explicit utf8 encoding at the beginning of html file
  resolves this problem. This is already done for hold notices.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2013-11-15 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Sophie MEYNIEUX  changed:

   What|Removed |Added

   See Also|http://bugs.koha-community. |
   |org/bugzilla3/show_bug.cgi? |
   |id=6030 |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2013-02-06 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Jared Camins-Esakov  changed:

   What|Removed |Added

 Status|Passed QA   |Failed QA

--- Comment #5 from Jared Camins-Esakov  ---
Marking failed QA until I have an answer about how to reproduce.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2013-01-24 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

--- Comment #4 from Jared Camins-Esakov  ---
Could you please provide an example of when diacritics are not coded correctly?
As far as I can tell, encoding is automatically correct before the patch.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2013-01-20 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

M. de Rooy  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA

--- Comment #3 from M. de Rooy  ---
QA Comment:
Trivial change. Did not test it; requires specific Python library. The added
encoding parameter seems to be in line with xhtml2pdf specs.
Will not harm anyone :)
Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2013-01-20 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

M. de Rooy  changed:

   What|Removed |Added

 CC||m.de.r...@rijksmuseum.nl
   Assignee|koha-b...@lists.koha-commun |sophie.meyni...@biblibre.co
   |ity.org |m
 QA Contact||m.de.r...@rijksmuseum.nl

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2012-12-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Kyle M Hall  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off
 CC||k...@bywatersolutions.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2012-12-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Kyle M Hall  changed:

   What|Removed |Added

  Attachment #13879|0   |1
is obsolete||

--- Comment #2 from Kyle M Hall  ---
Created attachment 13935
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13935&action=edit
Bug 9208 : Add utf-8 encoding when generating pdf letters from html files.

Signed-off-by: Kyle M Hall 

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2012-12-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

Sophie MEYNIEUX  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff
   Patch complexity|--- |Trivial patch
   See Also||http://bugs.koha-community.
   ||org/bugzilla3/show_bug.cgi?
   ||id=6030

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9208] overdue letters (pdf) are not correctly encoded

2012-12-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9208

--- Comment #1 from Sophie MEYNIEUX  ---
Created attachment 13879
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13879&action=edit
Bug 9208 : Add utf-8 encoding when generating pdf letters from html files.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/