dawn-liu

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年5月31日

摘要: 一 有一种情况,在Windows系统上面有一个文件,编码为gbk,将其上传到Linux虚拟机,系统编码为utf-8, 使用cat命令查看时是乱码,这时如何解决? [root@localhost ~]# cat x.py #!/usr/bin/env python # -*- coding:utf-8 阅读全文
posted @ 2018-05-31 18:53 dawn-liu 阅读(178) 评论(0) 推荐(0) 编辑