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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy