Converting ASCII text to Unicode with formatting [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_如何学JAVA Improve this questionIs 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
.
精彩评论