← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 890938] [NEW] missing UTF-8 encoding in report creation

 

Public bug reported:

1) edit footer/header of report and print an invoice
2) observed: umlauts and other special characters are fucked up
3) expected: characters to be fine
4) gentoo linux
5) openerp 6.0.3  

SOLUTION:
edit line 698 in file
/usr/lib/python2.7/site-packages/openerp-server/report/render/rml2pdf/trml2pdf.py
to be 
        return base64.decodestring(ustr(node.text_))
instead of
        return base64.decodestring(node.text_)

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/890938

Title:
  missing UTF-8 encoding in report creation

Status in OpenERP Server:
  New

Bug description:
  1) edit footer/header of report and print an invoice
  2) observed: umlauts and other special characters are fucked up
  3) expected: characters to be fine
  4) gentoo linux
  5) openerp 6.0.3  

  SOLUTION:
  edit line 698 in file
  /usr/lib/python2.7/site-packages/openerp-server/report/render/rml2pdf/trml2pdf.py
  to be 
          return base64.decodestring(ustr(node.text_))
  instead of
          return base64.decodestring(node.text_)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/890938/+subscriptions


Follow ups

References