[reportlab-users] String shapes and encodings

Claude Paroz claude at 2xlibre.net
Mon Jun 6 10:28:59 EDT 2022


Hi,

In the spirit of Python3 strings being always Unicode, I think that 
ReportLab String shape should behave the same and accept only Python 
strings.
I admit this might be slightly backwards incompatible, but it could be a 
first step in string handling simplification in ReportLab. The next step 
could be a similar patch for platypus Paragraph.

Claude
-- 
www.2xlibre.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-String-shapes-accept-Python-strings.patch
Type: text/x-patch
Size: 5300 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20220606/7c0ed1e0/attachment.bin>


More information about the reportlab-users mailing list