Skip to main content

Unreadable characters in vsql

  • January 26, 2015
  • 1 reply
  • 7 views

oleg_lll
Forum|alt.badge.img+1

From my Windows computer i insert 1 row with russian chars

dbadmin=> insert into stage.test22 values('март'); OUTPUT
--------
      1
(1 row)

From my server side vsql session i query inserted data and see unreadable chars

dbadmin=> select * from stage.test22; name
------
 ▒▒▒▒
(1 row)

How could i solve this problem?

I need use vsql from my Windows computer to load data into db.

Oleg.


1 reply

oleg_lll
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • January 26, 2015

May be i should set unicode char set befor running vsql utility ?

chcp 65001

vsql ....