I am trying to execute an SQL query which is stored in the file. I am using following command to execute:
psql -d DB_NAME -a -f QUERY_NAME.sql
I have some non English text in the SQL file like - સ�?રત
When the query is executed the text in the database looks like - �? ª¸�? «�? ª°�? ª¤
How do I execute the query from command line so that it runs correctly?