Postgres defaults to chars when the client encoding is utf8. On Mon, Aug 2, 2021, 11:46 Felipe Gasper <felipe@felipegasper.com> wrote: > > > > On Aug 2, 2021, at 11:25 AM, Dan Book <grinnz@gmail.com> wrote: > > > > STDOUT and STDERR expect bytes unless one does "use open ':std', IO => > ':encoding(UTF-8)';" which changes the assumption of those interfaces so > isn't great. DBI drivers, Mojolicious interfaces, etc expect characters. > > Of note: DBI drivers, by default, seem more predominantly to expect > *bytes*, not characters. At least, SQLite, MySQL, and PostgreSQL do. > > -F > >Thread Previous | Thread Next