[Python-checkins] python/nondist/sandbox/csv/test unicode_test.py,NONE,1.1

M.-A. Lemburg mal@lemburg.com
Sat, 08 Feb 2003 18:24:22 +0100


Skip Montanaro wrote:
> 
>     mal> I don't understand: have you moved the existing test from
>     mal> test_codecs.py to a new file or this a new bug ?
> 
> No, note that this is a test in the csv sandbox:
> 
>     mal> montanaro@users.sourceforge.net wrote:
>     >> Update of /cvsroot/python/python/nondist/sandbox/csv/test
>     ...
> 
> It has nothing to do with the codecs module other than using its EncodedFile
> class to wrap a StringIO object.  What's being tested is the csv module's
> current lack of Unicode support.

Oh, ok.

> See
> 
>     http://mail.python.org/pipermail/python-list/2003-February/145151.html
> 
> for motivation.  (Feel free to respond to that note. ;-)

Why not convert the input data to UTF-8 and take it from there ?
Are you sure that Unicode objects will be lower in processing ?

(Is there a standard for encodings in CSV files ?)

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/