diff options
author | hrs <hrs@FreeBSD.org> | 2013-11-25 01:26:06 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-11-25 01:26:06 +0000 |
commit | 150d294dbc6b55504998d6f99781473171415f7f (patch) | |
tree | 7c53259610137077d7bca0370a6246a61e862300 /sys/x86 | |
parent | 4e34b845870b14e6d758cd141e7c08f5225ae940 (diff) | |
download | FreeBSD-src-150d294dbc6b55504998d6f99781473171415f7f.zip FreeBSD-src-150d294dbc6b55504998d6f99781473171415f7f.tar.gz |
Add ICONV_{GET,SET}_ILSEQ_INVALID iconvctl. GNU iconv returns EILSEQ
when there is an invalid character in the output codeset while it is
valid in the input. However, POSIX requires iconv() to perform an
implementation-defined conversion on the character. So, Citrus iconv converts
such a character to a special character which means it is invalid in the
output codeset.
This is not a problem in most cases but some software like libxml2 depends
on GNU's behavior to determine if a character is output as-is or another form
such as a character entity (&#NNN;).
Diffstat (limited to 'sys/x86')
0 files changed, 0 insertions, 0 deletions