开发者

Converting ASCII text to Unicode with formatting [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

开发者_如何学JAVA Improve this question

Is there a free tool under linux system, for converting ascii text to unicode by keeping original text formatting ?


iconv can convert between different encodings, if that's what you mean.


Sure, it's called cat:

cat myasciifile > myunicodefile

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜