This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/16298] New: sprintf %s in a UTF-locale skips over invalid UTF-8
- From: "khw at cpan dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 06 Dec 2013 18:48:26 +0000
- Subject: [Bug localedata/16298] New: sprintf %s in a UTF-locale skips over invalid UTF-8
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16298
Bug ID: 16298
Summary: sprintf %s in a UTF-locale skips over invalid UTF-8
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: localedata
Assignee: unassigned at sourceware dot org
Reporter: khw at cpan dot org
CC: libc-locales at sourceware dot org
sprintf silently skips any operand being formatted with %s when the underlying
locale is UTF-8. Not all strings have to be UTF-8 in such a locale, so this
behavior is unwarranted. Even if it were, a UNICODE REPLACEMENT CHARACTER
should be output instead of silently skipping. Some more details are at
http://perl5.git.perl.org/perl.git/commit/9c7618beec18b3be96ea929c073bb3a5beed04ce
--
You are receiving this mail because:
You are on the CC list for the bug.