Hello Monks,
I have a problem with the text::csv_xs module. I get an error CSV_XS ERROR: 2023 EIF - CR char inside unquoted., not part of EOL @ Pos 1 to 92 (all my rows I want to parse).
My arguments are:
quote char => '"',
sep_char=>"$sep(; or : and so on),
allow_loose_escapes=>1,
empty_is_undef=>1,
binary=>1,
auto_diag=>1
It is fine working with my test csv file. For example:
LA390CD005:QK MXER 150 grün:171:85:
and my real Data is for example one line
051999910946:IWESA GMBH::STREET NO 6A:DE:66000:SARbRÜCKEN
Any ideas why I get this error. Maybe about the German chars ? But in the Testfile I also have every special char.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.