On Sat, Dec 02, 2023 at 07:52:25PM +0000, David Brownlee wrote: > Could something in the c++ library be assuming UTF-8 for non binary files? Spot on. I find LANG=en_US.UTF-8 in my environment (which I was not conscious about.) -- Mayuresh