原文链接: https://hsiaofeng.com/archives/186.html
连接服务器,提示
ssh: Could not resolve hostname xxx.xyz: \262\273\326\252\265\300\325\342\321\371\265\304\326\367\273\372\241\243
使用 Python 进行初步转换
print("\262\273\326\252\265\300\325\342\321\371\265\304\326\367\273\372\241\243")
得到字符串
²»ÖªµÀÕâÑùµÄÖ÷»ú¡£
查下表,属于“符号码”,则现在可能是 ISO-8859-1 编码。
用 VSCode 以 ISO-8859-1 编码储存,再以 GBK 打开,最终得到字符串
不知道这样的主机。
至此完成。
启发
https://segmentfault.com/q/1010000005032290
本文转自: https://hsiaofeng.com/archives/186.html
本站仅做收录,版权归原作者所有。