diff --git a/pageserver/src/branches.rs b/pageserver/src/branches.rs index eb716a6501..62c18d1f20 100644 --- a/pageserver/src/branches.rs +++ b/pageserver/src/branches.rs @@ -185,6 +185,7 @@ fn run_initdb(conf: &'static PageServerConf, initdbpath: &Path) -> Result<()> { let initdb_output = Command::new(initdb_path) .args(&["-D", initdbpath.to_str().unwrap()]) .args(&["-U", &conf.superuser]) + .args(&["-E", "utf8"]) .arg("--no-instructions") // This is only used for a temporary installation that is deleted shortly after, // so no need to fsync it