title: How can I read from files in UTF-16LE encoding in PHP?
body: <p>I've got <a href="https://en.wikipedia.org/wiki/Comma-separated_values" rel="nofollow noreferrer">CSV</a> files in <a href="https://en.wikipedia.org/wiki/UTF-16#Byte-order_encoding_schemes" rel="nofollow noreferrer">UTF-16LE</a> encoding with a <a href="https://en.wikipedia.org/wiki/Byte_order_mark" rel="nofollow noreferrer">BOM</a>. They might be pretty big, so I don't really like the idea of reading whole files in memory. How do I go about reading them?</p>