记录一次linux服务器查询日志gbk转换为utf-8编码

命令以下: tail -1000f fff.log | while read line; do echo "$line" | iconv -f GBK -t UTF-8; donewhile

相关文章
相关标签/搜索