以下是从运行ubuntu和gnome gui的计算机访问时
mysql手册页中的一行
"Command-Line Options that Affect Option-File Handling".
此行呈现为:
âCommand-Line Options that Affect Option-File Handlingâ
当我使用putty从我的Windows计算机进入ubuntu计算机时.
为什么报价被呈现为?有什么方法可以让我的ssh会话正确呈现手册页吗?
编辑
Putty已经将“Terminal-type String”设置为xterm,这是我的.profile:
# if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi
我不认为终端类型被覆盖
在PuTTY中更改字符集:
窗口>翻译>远程字符集
>默认字符集是ISO-8859-1:1998(Latin-1,West Europe)
>将其更改为UTF-8以获得unicode支持 – 这应该正确呈现您的角色.
(我对亚马逊的Linux也有同样的问题 – motd消息有unicode字符,因此它不断提醒并促使我寻找解决方案).