in reply to Re: Text::CSV on Unicode file
in thread Text::CSV on Unicode file
[ddb@playpen ~/smbshare/Documents/work/tpdbfix/app]$ file play-thumbs. +txt play-thumbs.txt: UTF-8 Unicode (with BOM) text, with very long lines
That (with BOM) was the trigger! I can now reproduce
I have fixed this for version 1.31. I will need to add some tests for that before I release.
With the current versions you just don't use :encoding(utf-8) on open, as the headers method then doesn't recognize the BOM as bytes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Text::CSV on Unicode file
by dd-b (Pilgrim) on Jun 09, 2017 at 21:27 UTC |