Unreadable characters in vsql


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.


Comments

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

    chcp 65001

    vsql .... 


Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file