[scribus] Scribus 1.5.3 on Debian with Python 3

Gregory Pittman gpittman at iglou.com
Thu Oct 26 16:33:10 UTC 2017


On 10/26/2017 11:04 AM, ZASKE Martin wrote:
>> and for the needs of most people currently using the scripter there is
>> not much difference between using 2.7 and 3.4...
> 
> 
> For what its worth,
> 
> I keep reading that only Python 3 can properly handle Unicode. I do not
> know details, but I try using Python 3 as much as possible.
> 

At least in the Autoquote and Autoquote2 scripts, Unicode seems to
mostly be handled Ok, for example,

lead_double = u"\u201c"

in the assignment of typographic quotes.
One problem I did recently become aware of was with ellipsis, or Unicode
2206. Although Python seems to apply the glyph correctly, as the script
parses the text, it says that its length is 3 characters, which means
that I can't figure out how to fix a problem with assignment of the
appropriate quotes after an ellipsis. I don't know if this is with
Python 3 or 2.7 or both.

Greg




More information about the scribus mailing list