[Python-Dev] #pragmas in Python source code
Fredrik Lundh
Fredrik Lundh" <effbot@telia.com
Tue, 18 Apr 2000 16:56:28 +0200
Paul Prescod wrote:
> My vote is all or nothing. Either the whole file is in UCS-2 (for
> example) or none of it is.
agreed.
> In what sense is Latin-1 not Unicode? Isn't it just the first 256
> characters of Unicode or something like that?
yes. ISO Latin-1 is unicode. what MAL really meant was that
the interpreter would only deal with 8-bit (traditional) or 16-bit
(unicode) strings.
(in my string type proposals, the same applies to text strings
manipulated by the user. if it's not unicode, it's a byte array,
and methods expecting text don't work)
</F>