[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [musl] Building Bison 3.7 with musl (was Re: portability issues with
Re: [musl] Building Bison 3.7 with musl (was Re: portability issues with unicodeio)
Thu, 30 Jul 2020 11:02:25 +0200
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
* Bruno Haible:
> Yes and no. The code is not making assumptions about a particular iconv()
> implementation. But it needs to distinguish two categories of replacements
> done by iconv():
> - those that are harmless (for example when replacing a Unicode TAG
> character U+E00xx with an empty output),
> - those that are better not presented to the user, if the programmer has
> specified a fallback (for example, replacing all non-ASCII characters
> with NUL, '?', or '*').
> The standards don't help in making the distinction.
> Therefore whether you consider said glibc and libiconv behaviour as
> "non-conforming" or not is irrelevant.
Could you sketch briefly what you need? We have identified some issues
with the existing iconv interface. If we add an enhancement, it would
make sense to cover these requirements.