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

Skip to content

Commit aaa1a70

Browse files
committed
[pgsql]: Use charset cp1251 for psql-console if the Russian interface is selected.
1 parent 1d1a51b commit aaa1a70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nsis/postgresql.nsi

+4
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ Section $(PostgreSQLString) sec1
259259

260260
${if} ${PRODUCT_NAME} == "PostgreSQL"
261261
StrCpy $Chcp_text ""
262+
263+
${if} ${LANGUAGE} == ${LANG_RUSSIAN}
264+
StrCpy $Chcp_text "chcp 1251"
265+
${endif}
262266
${endif}
263267

264268
FileOpen $0 $INSTDIR\scripts\runpgsql.bat w

0 commit comments

Comments
 (0)