Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6faad51

Browse files
committed
1c fix
1 parent 5a262ef commit 6faad51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nsis/postgresql.nsi

+3-2
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,10 @@ Section $(PostgreSQLString) sec1
358358
AccessControl::GrantOnFile "$DATA_DIR" "$0" "FullAccess" ;GenericWrite
359359
Pop $0 ;"ok" or "error" + error details
360360
${if} ${WITH_1C} == "TRUE"
361-
DetailPrint "Running 1C installation. Using ru_RU.UTF-8 locale ..."
361+
DetailPrint "Running 1C installation. Using Russian locale and UTF-8 encoding ..."
362362
nsExec::ExecToStack /TIMEOUT=60000 '"$INSTDIR\bin\initdb.exe" $tempVar \
363-
--locale="ru_RU.UTF-8" \
363+
--locale="russian" \
364+
--encoding="UTF-8" \
364365
-U "$UserName_text" \
365366
-D "$DATA_DIR"'
366367
${else}

0 commit comments

Comments
 (0)