Skip to content
  • Paul Eggert's avatar
    mbrtowc: port better to narrow-wchar_t platforms · 6bc5c0e0
    Paul Eggert authored
    * lib/mbrtowc.c (mbrtowc): On platforms like AIX 7.2, where
    wchar_t is too narrow to represent all the Unicode characters,
    consider a byte sequence for an out-of-wchar_t-range character to
    be an encoding error.  This fixes grep’s surrogate-pair test
    failure on AIX 7.2.
    6bc5c0e0