diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-12-18 22:08:54 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-12-18 22:31:18 -0500 |
commit | 95c6044e2ae85846330814c4ac5ebf4102dbe02c (patch) | |
tree | af2c6f65ebcb37cca79713f72a678faf54117e9f /src/fenv | |
parent | 9d4d0ee41b06acf68dac40332f53be7bfbde7404 (diff) | |
download | musl-95c6044e2ae85846330814c4ac5ebf4102dbe02c.tar.gz musl-95c6044e2ae85846330814c4ac5ebf4102dbe02c.tar.xz musl-95c6044e2ae85846330814c4ac5ebf4102dbe02c.zip |
add support for BOM-determined-endian UCS2, UTF-16, and UTF-32 to iconv
previously, the charset names without endianness specified were always interpreted as big endian. unicode specifies that UTF-16 and UTF-32 have BOM-determined endianness if BOM is present, and are otherwise big endian. since commit 5b546faa67544af395d6407553762b37e9711157 added support for stateful encodings, it is now possible to implement BOM support via the conversion descriptor state. for conversions to these charsets, the output is always big endian and does not have a BOM.
Diffstat (limited to 'src/fenv')
0 files changed, 0 insertions, 0 deletions