~activity/openobject-server/trunk

« back to all changes in this revision

Viewing changes to bin/report/render/rml2pdf/utils.py

  • Committer: Dainius Malachovskis
  • Date: 2009-06-15 19:12:48 UTC
  • Revision ID: dainius.malachovskis@sandas.eu-20090615191248-ustouuiy8bvci8k0
bug in new report engine with non-ascii symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        result = ''
100
100
#Activity+ Without this don't work if translated text has non-ascii symbols
101
101
        #sps = _regex.split(txt)
102
 
        sps = _regex.split(txt.encode('utf-8'))
 
102
        sps = _regex.split(tools.ustr(txt))
103
103
#Activity-
104
104
        while sps:
105
105
            # This is a simple text to translate