[I18n-sig] Pre-PEP: Proposed Python Character Model

M.-A. Lemburg mal@lemburg.com
Wed, 07 Feb 2001 13:58:32 +0100


Hooper Brian wrote:
> ...
> What about adding an
> optional encoding argument to the existing open(),
> allowing encoding to be passed to that, and using 'raw' as
> the default format (what it does now)?

This is what codecs.open() already provides.
 
-- 
Marc-Andre Lemburg
______________________________________________________________________
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/