Skip Menu |

This queue is for tickets about the Text-CSV CPAN distribution.

Report information
The Basics
Id: 101253
Status: rejected
Priority: 0/
Queue: Text-CSV

People
Owner: Nobody in particular
Requestors: hans [...] matfyz.cz
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Add Byte Order Mark handling for UCS-2 and UTF-16 files
Please, add Byte Order Mark handling for UCS-2 and UTF-16 encoded files. Or autodetection BOM when present and encoding not (fully) specified? http://en.wikipedia.org/wiki/Byte_order_mark
On Sat Jan 03 02:31:58 2015, https://launchpad.net/~hans-matfyz wrote: Show quoted text
> Please, add Byte Order Mark handling for UCS-2 and UTF-16 encoded > files. Or autodetection BOM when present and encoding not (fully) > specified? > > http://en.wikipedia.org/wiki/Byte_order_mark
Because it's not Text::CSV/Text::CSV_XS that opens a file, and BOM is certainly something irrelevant to CSV, I don't think this is our issue. You might probably want to use File::BOM or something similar, instead of CORE open, for better BOM handling. See also https://rt.cpan.org/Ticket/Display.html?id=48514 (rejected issue for Text::CSV_XS) Thanks.