moneyslow.com

linux shell下用uni2ascii 把 16进制格式的\uxxxx\uxxx unicode 转换为 UTF-8 中文

劳整理+详细记录:十部高分印度悬疑电影推荐,反转+烧脑

原文:
https://centos.pkgs.org/7/repoforge-x86_64/uni2ascii-4.18-1.el7.rf.x86_64.rpm.html

先下载: rpmforge-release
http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el7/en/x86_64/rpmforge/RPMS/
(http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm)

安装:rpmforge-release rpm:
# rpm -Uvh rpmforge-release*rpm

安装uni2ascii
Install uni2ascii rpm package:
# yum install uni2ascii

# echo '\u73af\u5883\uff0c\u800c' | ascii2uni -a U -q
环境,而

Exit mobile version