Skip to content

Commit 96d669e

Browse files
committed
Postfix for #8588: Error doing nbackup when Database file name has extended ASCII chars; conversion from utf8 needed in OS open() call too
1 parent 22fee85 commit 96d669e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utilities/nbackup/nbackup.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,9 @@ class NBackup
298298
pr_error(status, "nbackup needs local access to database file");
299299
}
300300

301+
if (uSvc->utf8FileNames())
302+
ISC_utf8ToSystem(db);
303+
301304
expandDatabaseName(db, dbname, NULL);
302305

303306
if (!uSvc->isService())

0 commit comments

Comments
 (0)