This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/16298] New: sprintf %s in a UTF-locale skips over invalid UTF-8


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]