ildus / clickhouse_fdw

ClickHouse FDW for PostgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

utf-8 strings are show in wrong encoding inside PG

alxkrisanov opened this issue · comments

I'm using PostgreSQL 13.1 and CH 20.9.3.45.
String values containing UTF-8 symbols are showed improperly:
image

Is it a bug or should I specify encoding somehow?

Succede to fix the issue in Python by encoding form iso_8859_1 to utf 8:

s.encode('iso_8859_1').decode()

Can't reproduce, please check make sure you use UTF-8 in both of your databases.