【问题标题】:pgAdmin IV "'charmap' codec can't decode byte 0x8d in position 8773: character maps to <undefined>"pgAdmin IV “'charmap' 编解码器无法解码位置 8773 中的字节 0x8d:字符映射到 <undefined>”
【发布时间】:2022-06-13 19:05:33
【问题描述】:

由于我的工作,我现在使用 pgAdmin IV(5.7 版),以前我只使用过 pgAdmin III。 我的问题是我已经正确设置了字符集

set client_encoding = 'Win1252';

并且这个错误仍然出现。我都连接到同一个数据库,我链接到的数据库是 Postgres 9.5。当我对 pgAdmin III 做同样的事情时,我得到了正确的所有数据。

当我在数据库上运行 show server_encoding 时,我收到 **WIN1252*:

错误:

'charmap' 编解码器无法解码位置 8773 中的字节 0x8d:字符 映射到

【问题讨论】:

  • 这需要更多信息 1) pgAdmin4 的完整版本信息 2) 您正在连接的 Postgres 版本。 3) 您是否使用 pgAdmin4 连接到与 pgAdmin3 相同的数据库 4) show server_encoding; 返回什么?
  • 已根据建议信息编辑,谢谢!

标签: postgresql pgadmin pgadmin-4


猜你喜欢
  • 2020-04-14
  • 2015-08-16
  • 2019-05-14
  • 1970-01-01
  • 2022-10-25
  • 2019-06-01
  • 1970-01-01
  • 2019-10-20
相关资源
最近更新 更多