comparing Unicode and string
Neil Cerutti
horpner at yahoo.com
Fri Nov 10 08:18:30 EST 2006
More information about the Python-list mailing list
Fri Nov 10 08:18:30 EST 2006
- Previous message (by thread): comparing Unicode and string
- Next message (by thread): comparing Unicode and string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2006-11-10, John Machin <sjmachin at lexicon.net> wrote: > > Neil Cerutti wrote: >> On 2006-10-16, luc.saffre at gmail.com <luc.saffre at gmail.com> wrote: >> > Hello, >> > >> > here is something that surprises me. >> > >> > #coding: iso-8859-1 >> >> I think that's supposed to be: >> >> # -*- coding: iso-8859-1 -*- >> > > Not quite. As PEP 263 says: > > """ > More precisely, the first or second line must match the regular > expression "coding[:=]\s*([-\w.]+)". > """ Yep. I was erroneously going by the example in the Unicode Howto. Thanks for the correction. -- Neil Cerutti
- Previous message (by thread): comparing Unicode and string
- Next message (by thread): comparing Unicode and string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list