Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

(CSV.Parser.SyntaxError) Unterminated escape sequence #52

Closed
yury-dymov opened this issue Aug 27, 2016 · 2 comments
Closed

(CSV.Parser.SyntaxError) Unterminated escape sequence #52

yury-dymov opened this issue Aug 27, 2016 · 2 comments

Comments

@yury-dymov
Copy link

Hi,

I've recently exported data to CSV from Postgres, therefore I assume that there is nothing wrong with the data from RFC perspective.

I am using latest csv release 1.4.2 and facing error mentioned in subject during parsing.

Sample, which gives me error with CSV header attached

sample.csv.zip

id,question_id,user_id,year,locked,text,locale,inserted_at,updated_at,image_file_name,image_content_type,image_file_size,image_updated_at,comment_count
170,144,8,2015,f,"ООО...Неее... это не ко мне((
Но мое любимое вот это:
""Тихо-тихо ползи,
Улитка, по склону Фудзи,
Вверх, до самых высот.""",ru,2015-03-05 17:12:55,2015-03-05 17:12:55,,,,,0

P.s. I don't think that Russian text makes any difference, right? :)

@beatrichartz
Copy link
Owner

beatrichartz commented Aug 27, 2016

Thanks for raising this - Russian should indeed not make a difference :)

Should be fixed in 1.4.3 (and master if you are using the newer API), can you have a look?

@yury-dymov
Copy link
Author

Hey, @beatrichartz, that was blazing fast! :)

Issue seems to be resolved. At least no errors during parsing. Thank you!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants