[Python-Dev] Import and unicode: part two

James Y Knight foom at fuhm.net
Fri Jan 21 04:25:17 CET 2011

On Jan 20, 2011, at 3:55 PM, Antoine Pitrou wrote:

> On Thu, 20 Jan 2011 15:27:08 -0500
> Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:
>> To support the latter, could we just make sure that zipimport has a consistent,
>> non-locale-or-operating-system-dependent interpretation of encoding?
> It already has, but it's dependent on a flag in the zip file itself
> (actually, one flag per archived file in the zip it seems).
> (by the way, it would be nice if your text/mail editor wrapped lines at
> 80 characters or something)

You could complain to Apple, but it seems unlikely that they'd change it. They broke it intentionally in OSX 10.6.2 for better compatibility with MS Outlook.

(for the technically inclined: It still wraps lines at 80 characters in the raw message, but it uses quoted-printable encoding to escape the line-breaks, so mail readers which decode quoted-printable but can't flow text are now S.O.L. Apple used to use the nice format=flowed standard instead.)


More information about the Python-Dev mailing list