有没有办法在 psql 中插入一个重音字母?

Is there a way to insert an accentuated letter in psql?

我正在尝试使用 PostgreSQL (9.6) 插入一个重音字母,但我无法做到...

如果我 copy/paste 查询,它会删除重音字母,如果我尝试直接插入它们,它不会打印任何内容。

我能做什么?

看起来是 shell 环境问题,请尝试应用 https://unix.stackexchange.com/questions/98185/bash-environment-pasting-strings-with-special-characters

的解决方案

pgcli 我想是 python 并且可能还有其他库