Merge pull request #645 from vkartaviy/fix/embedded-postgres-utf8

fix: ensure embedded PostgreSQL databases use UTF-8 encoding
This commit is contained in:
Dotta 2026-03-12 14:15:58 -05:00 committed by GitHub
commit d14e656ec1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 1 deletions

View file

@ -334,6 +334,7 @@ export async function startServer(): Promise<StartedServer> {
password: "paperclip",
port,
persistent: true,
initdbFlags: ["--encoding=UTF8", "--locale=C"],
onLog: appendEmbeddedPostgresLog,
onError: appendEmbeddedPostgresLog,
});