Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
iconv 可以在不同的编码之间进行转换,如果您愿意的话意思是。
iconv can convert between different encodings, if that's what you mean.
当然,它被称为 cat:
cat
cat myasciifile > myunicodefile
现在 myunicodefile 由 unicode 代码点组成,以流行的 UTF8 编码进行编码。请注意,这假设 myasciifile 仅包含合法的 ASCII 字符(即在 0-127 范围内)。
myunicodefile
myasciifile
另一种方法是 cp。
Sure, it's called cat:
Now myunicodefile consists of unicode codepoints, encoded in the popular UTF8 encoding. Note that this assumes that myasciifile consists only of legal ASCII characters (i.e. in the range 0-127).
An alternative to this is cp.
cp
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
iconv 可以在不同的编码之间进行转换,如果您愿意的话意思是。
iconv can convert between different encodings, if that's what you mean.
当然,它被称为
cat
:现在
myunicodefile
由 unicode 代码点组成,以流行的 UTF8 编码进行编码。请注意,这假设myasciifile
仅包含合法的 ASCII 字符(即在 0-127 范围内)。另一种方法是 cp。
Sure, it's called
cat
:Now
myunicodefile
consists of unicode codepoints, encoded in the popular UTF8 encoding. Note that this assumes thatmyasciifile
consists only of legal ASCII characters (i.e. in the range 0-127).An alternative to this is
cp
.