On Sunday, April 19, 2026, Duncan Roe <[email protected]> wrote:
> Hi Oğuz, > > On Thu, Apr 16, 2026 at 05:57:52AM +0300, Oğuz wrote: > > On Wednesday, April 15, 2026, Duncan Roe <[email protected]> > wrote: > > > > > > > So UTF-8 is the only multibyte encoding it handles? > > > > > > Yes, at least for now. It didn't look to me as though zgetline could > cope > > > with > > > utf16 anyway: a number of utf16 characters have newline as one of their > > > bytes > > > for instance. > > > > > > > IIRC bash supports Big5, Shift-JIS, etc. > > > > > > -- > > Oğuz > > I might look into doing some other multi-byte encodings later on. > > Which would you suggest would be the most important? I doubt anyone uses them anymore, it's just that Bash supports such encodings and shipping a loadable builtin that doesn't along with Bash wouldn't be ideal. > > Cheers ... Duncan. > > -- Oğuz
