about summary refs log tree commit diff
path: root/src/termios
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-12-18 22:08:54 -0500
committerRich Felker <dalias@aerifal.cx>2017-12-18 22:31:18 -0500
commit95c6044e2ae85846330814c4ac5ebf4102dbe02c (patch)
treeaf2c6f65ebcb37cca79713f72a678faf54117e9f /src/termios
parent9d4d0ee41b06acf68dac40332f53be7bfbde7404 (diff)
downloadmusl-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/termios')
0 files changed, 0 insertions, 0 deletions