Hi Chip, On 12/11/19 6:53 PM, Chip Davis wrote: > + if(!get_locinfo()->lc_codepage) > + return c <= 255 ? c : MSVCRT_WEOF; It doesn't work correctly in the !lc_codepage && c>255 case. Thanks, Piotr