Re: Choice of BOM for UTF-16 encoding
[email protected] (Aristotle Pagaltzis) Mon, 10 Feb 2014 08:51:35 +0100
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <[email protected]> |
* Geoffrey Leach <[email protected]> [2014-02-10 07:35]: > Is there a way to force (from my module) the choice to be LE? It turns > out that the library I'm supporting (taglib) works in LE. Does it need a BOM prepended? If not, just do the obvious and `encode('UTF-16LE', $str)`. C.f. `perldoc Encode::Unicode`. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>