- 论坛徽章:
- 0
|
OS: Redhat 9.0
Service: SSH
Client: Putty@Windows XP
在登入Server後,
# ll
如果有中文字符, 會顯示亂碼:
drwxrwxr-x 2 root smbadmin 4096 Apr 20 08:40 Ñ&É&????
drwxrwxr-x 2 root smbadmin 4096 May 14 08:26 ?????H??????
但是,
# tree -Dd
|-- [May 14 8] ¤¤°ê¤H&&¼&&& <-- file.A
`-- [Apr 20 8] Ñ&É&ÀËÂ& <--file.B
其中, file.A -- BIG5編碼, 可在console下正常顯示("中國人的憤怒"這幾個字), 但是copy&paste後就變成上面這樣, 慘不忍睹; file.B -- GB2312編碼, 可在console下顯示方塊字, 因為SMB我設定默認編碼為BIG5, 所以雖然是方塊字, 但是編碼不同導致無法辨識. 同樣copy&paste後就如同您看到的, 慘阿~
請教: 在PuTTy console下如何能完整copy所看到的字到其他文本裡面, 如notepad, word, HTML... 謝謝! |
|