Skip to content

csv reader behaves different for python 2.6 and 2.7 #77

Description

@poojadeokar

There is record having extra quote in it.
rec = '3,Abhinav,3000,"કેમ છો""'
and ran with code:
result = csv.reader([rec.encode("utf-8")], delimiter=',').reader.next()
It gives output as:
In Python 2.7.5 : [3,Abhinav,3000,'"કેમ છો""']
In python 2.6.6 : Gives exception - newline inside string

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions