开发者

cygwin encoding problem

I am puzzled at a cygwin encoding 开发者_运维百科problem. I am using its Mintty 0.8.3. I copy and paste or character to the screen, it shows an un-recognizable character as a square, and if I hit return key, I got

-bash: $'\342\214\212': command not found

In options->text, I have set locale to be "en_US" and Character Set as "UTF-8".

Just wondering why this is still happening.


The square means that the font you're using doesn't have glyphs for those characters, so try other fonts.

$'\342\214\212' is the UTF-8 code for one of those characters in octal notation, which is what bash uses in error messages instead of the actual characters.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜