开发者

opening a file in aix

开发者 https://www.devze.com 2023-01-05 17:20 出处:网络
(AIX/ksh) i have a chinese file ...i cant able to open it in aix using cat fully...if i give cat t开发者_StackOverflow社区hen some contents are missing...and if i give cat -v it is giving wierd code..

(AIX/ksh) i have a chinese file ...i cant able to open it in aix using cat fully...if i give cat t开发者_StackOverflow社区hen some contents are missing...and if i give cat -v it is giving wierd code....even i tried with while loop to read contents,but not working...with more command i can but i cant use more in shell scripting...so please shed some idea here...many thanks


The issue seems to be your terminal emulator, not the cat command itself which just output the file's content without processing. Make sure your character encoding is correct, should be LC_CTYPE, LC_ALL or perhaps LANG and that your terminal can display chinese characters.

0

精彩评论

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

关注公众号