printf() is unnecessarily non-standard in some cases
|Reported by:||Jiří Zárevúcky||Owned by:||Jakub Jermář|
|Blocker for:||Depends on:|
In some cases, printf() discards bytes that are not valid UTF-8. Notably in case of "%c" specifier.
The standard version copies uninterpreted bytes to the input without change, and there is no practical benefit from this departure.
It is likely there are other non-standard behaviors, so it may be beneficial to find those cases and align them with recent POSIX specification.