<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>I have debugged this issue and I believe the root cause is “addFilterHook name="normalize/noinvisible" on="pmsgstr" handle="noinvisible"”, defined in puretext.filters, which is included in ortography.rules. So I think this is another case where Python 3 is working as expected, and Python 2 was not.</p>
<p id="reply-intro">On 2022-10-07 21:58, Karl Ove Hufthammer wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">Adrian Chaves skreiv 07.10.2022 17:25:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">I will still be available today and tomorrow all day in case further changes are needed, so if you have not tested everything you use yet, please do so as soon as you can.</blockquote>
<br />I‘ve found a bug in the posieve script for the check-rules command. For Norwegian Nynorsk (language code nn) we have a rule (in pology/lang/nn/rules/ortography.rules) with this trigger:<br /><br /><span style="white-space: nowrap;">[\b …]</span><br /><br />This will catch strings that have a *normal* space before …, e.g., ‘Search …’. (The space should instead be a non-breaking space, to avoid the string being broken over two lines between ‘Search’ and ‘…’.)<br /><br />In Python 2, the rule worked fine. But in Python 3, it’s *also* triggered by strings that have a non-breaking space.<br /><br /><span style="white-space: nowrap;">Test case:</span><br /><br />posieve check-rules l10n-support/nn/summit/messages/akonadi-contacts/akonadicontact5.po<br /><br /><span style="white-space: nowrap;">In Python 2, this detects no problems. In Python 3, it detects 7 problems.</span><br /><br /></div>
</blockquote>
<p><br /></p>

</body></html>