[reportlab-users] Platypus & unicode
    Andy Robinson 
    andy at reportlab.com
       
    Wed Nov 14 00:37:24 EST 2007
    
    
  
On 14/11/2007, Andrew Smart <smart at smart-knowhow.de> wrote:
> Simple question: do I have to use utf-8 "coded" strings as input for
> Platypus?
Either utf-8 encoded strings or unicode objects (u"Hello World"). Both
should work.  I'd suggest unicode objects.
The big switch in version 2.0 was to move to 'unicode throughout'.
Otherwise, operations like split() performed on any
multi-bytes-per-character encoding (Asian text or UTF8) can cuse
corruption.
- Andy Robinson
    
    
More information about the reportlab-users
mailing list