https://github.com/jimpil/clj-bom
A super small library (100 LOC) for abstracting away the fact that text
files might start with a ByteOrderMark (BOM). If you're not sure why
that might be a problem, see the following links:
* https://dev.clojure.org/jira/browse/DXML-45
* https://dev.clojure.org/jira/browse/DCSV-7
*
https://stackoverflow.com/questions/13789092/length-of-the-first-line-in-an-utf-8-file-with-bom
* https://github.com/clojure/data.csv#byte-order-mark
clj-bom provides `*bom-reader*`, `*bom-writer*` as well asĀ
input/output-stream variants. If you are pulling the entirety of apache
commons.io solely to access `BOMInputStream`, consider switching to this
as a lighter (and more idiomatic) dependency.
Kind regards,
Dimitris
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.