我找到了这个线程 - PSQL:错误:编码“UTF8”的字节序列无效,但它对我没有帮助,我仍然有这些字母错误。
这是我的 postgres 配置:
# These settings are initialized by initdb, but they can be changed.
lc_messages = 'English_United States.1252'
lc_monetary = 'English_United States.1252'
lc_numeric = 'English_United States.1252'
lc_time = 'English_United States.1252'
default_text_search_config = 'pg_catalog.english'
# - Other Defaults -