Noam
Noam

Reputation: 5341

Postgres PSQL displays invalid chars in windows cmd

I'm using windows 10 - and when I run PSQL from the cmd I'm getting invalid chars: enter image description here

My guess is that it's trying to write Hebrew to the command line.

In regional settings of my windows 10 - the Location is set to "United States" the Formats are set to "Hebrew Israel" and the default language for non unicode applications is set to "Hebrew Israel"

How do I get postgres to play nice with this setup?

Upvotes: 1

Views: 419

Answers (1)

Laurenz Albe
Laurenz Albe

Reputation: 247865

Follow the instructions from the psql documentation, translated to Hebrew.

Before starting psql,

  • set the font to “Lucida Console”

  • change the encoding with chcp 1255.

Upvotes: 2

Related Questions