[I18n-sig] Re: Unicode debate

M.-A. Lemburg mal@lemburg.com
Fri, 28 Apr 2000 21:51:26 +0200


Just van Rossum wrote:
> 
> At 8:52 PM +0200 28-04-2000, M.-A. Lemburg wrote:
> >See the first line ;-) ... "provided both strings have encodings
> >which can be converted to Unicode" ... binary encodings would
> >not fall under these.
> 
> Won't a string literal in a source file with an explicit encoding get
> *that* encoding, whether the string contains binary goop or not?!

Right. Binary data in such a string literal would have to
use str('...data...','binary') to get the correct encoding
attached to it.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/