Skip to content

Commit 7a87c1f

Browse files
authored
Fix file name in UTF-8 encoding for gstat (#8829)
1 parent f3806fe commit 7a87c1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utilities/gstat/dba.epp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,9 @@ int gstat(Firebird::UtilSvc* uSvc)
635635
}
636636
}
637637

638+
if (uSvc->utf8FileNames())
639+
ISC_utf8ToSystem(fileName);
640+
638641
expandDatabaseName(fileName, tempStr, NULL);
639642
fileName = tempStr;
640643

0 commit comments

Comments
 (0)