<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div>> To: scribus-dev@lists.scribus.net<br>> From: ale.comp_06@xox.ch<br>> Date: Tue, 31 May 2016 15:43:30 +0200<br>> Subject: Re: [scribus-dev] Change to UTF-32<br>> <br>> hey<br>> <br>> On 31/05/16 15:30, Gregory Pittman wrote:<br>> > On 05/31/2016 07:13 AM, Khaled Hosny wrote:<br>> ><br>> >> Any way, people are free to reject the parts of the patches they don’t<br>> >> like. I don’t have this weird notion that some characters or scripts are<br>> >> first class citizen and others we can think about them later. UTF-16 is<br>> >> the worst of encodings (as I explained in the IRC discussion), it<br>> >> encourages developers to write bad code, and the sorry state of non-BMP<br>> >> in Scribus is a great testimony about this.<br>> >><br>> ><br>> > I do think we should do our users the favor of making sure that the<br>> > included scripts are all still working before we release some change<br>> > like the character encoding. Everything should be fixable, but it makes<br>> > a bad impression to break things and then wait for people to complain.<br>> <br>> the problem are not the included scripts. we can fix them before <br>> including them.<br>> <br>> the problem are all the other scripts that are in the wild.<br>> <br>> but i'm not that worried. if we document how the included scripts had to <br>> be changed, at the time the new version will be stable, they have clear <br>> recipes for fixing their scripts.<br>> <br>> <br>> ciao<br>> a.l.e<br></div><div><br></div><div><br></div><div>Shouldn't the internal representation in Scribus be separate from the encoding used by the interface between python and Scribus? Python provides codecs for common encodings. <a href="https://docs.python.org/3/c-api/unicode.html" target="_blank" style="font-size: 12pt;">https://docs.python.org/3/c-api/unicode.html</a>  External formats like SLA files could remain UTF-8. What kinds of scripts would be broken?</div><div><br></div><div>William</div><div><br></div>                                       </div></body>
</html>