LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1679|回复: 17

如何将linux下的文本,在windows XP 中打开?

[复制链接]
发表于 2006-8-6 23:38:54 | 显示全部楼层 |阅读模式
小弟刚学linux遇到一个棘手的问题,就是如何将linux下的文本,在windows XP 中打开,曾经尝试在linux环境下将文件的名称存储为"*.txt  *.doc"的格式但是在windows XP环境中出现的是乱码,请教各位高手!!
发表于 2006-8-7 03:09:11 | 显示全部楼层
用utraledit之类的编辑器
回复 支持 反对

使用道具 举报

发表于 2006-8-7 08:38:22 | 显示全部楼层
选择编码的时候注意,我用utf-8一般没有问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-7 08:59:54 | 显示全部楼层

救命啊

我用了UltraEdit-32打开还是不行啊,上传了个样本,谢谢,我用word打开是选用了utf8也不行

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2006-8-7 10:27:05 | 显示全部楼层
man cat | col -b >cat.txt
回复 支持 反对

使用道具 举报

发表于 2006-8-7 11:11:04 | 显示全部楼层
楼主我用word打开了你的文件:

CAT(1)                          User Commands                          CAT(1)



N NA AM ME E
       cat - concatenate files and print on the standard output

S SY YN NO OP PS SI IS S
       c ca at t [_ O_ P_ T_ I_ O_ N] [_ F_ I_ L_ E]...

D DE ES SC CR RI IP PT TI IO ON N
       Concatenate FILE(s), or standard input, to standard output.

       - -A A, - -- -s sh ho ow w- -a al ll l
              equivalent to - -v vE ET T

       - -b b, - -- -n nu um mb be er r- -n no on nb bl la an nk k
              number nonblank output lines

       - -e e     equivalent to - -v vE E

       - -E E, - -- -s sh ho ow w- -e en nd ds s
              display $ at end of each line

       - -n n, - -- -n nu um mb be er r
              number all output lines

       - -s s, - -- -s sq qu ue ee ez ze e- -b bl la an nk k
              never more than one single blank line

       - -t t     equivalent to - -v vT T

       - -T T, - -- -s sh ho ow w- -t ta ab bs s
              display TAB characters as ^I

       - -u u     (ignored)

       - -v v, - -- -s sh ho ow w- -n no on np pr ri in nt ti in ng g
              use ^ and M- notation, except for LFD and TAB

       - -- -h he el lp p display this help and exit

       - -- -v ve er rs si io on n
              output version information and exit

       With no FILE, or when FILE is -, read standard input.

A AU UT TH HO OR R
       Written by Torbjorn Granlund and Richard M. Stallman.

R RE EP PO OR RT TI IN NG G B BU UG GS S
       Report bugs to <bug-coreutils@gnu.org>.

C CO OP PY YR RI IG GH HT T
       Copyright © 2004 Free Software Foundation, Inc.
       This  is  free software; see the source for copying conditions.  There
       is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
       LAR PURPOSE.

S SE EE E A AL LS SO O
       The  full documentation for c ca at t is maintained as a Texinfo manual.  If
       the i in nf fo o and c ca at t programs are properly installed  at  your  site,  the
       command

              i in nf fo o c co or re eu ut ti il ls s c ca at t

       should give you access to the complete manual.



cat (coreutils) 5.2.1           February 2005                          CAT(1)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-7 13:00:09 | 显示全部楼层
楼上的朋友就是这样啊,很多都看不清
回复 支持 反对

使用道具 举报

发表于 2006-8-7 13:08:35 | 显示全部楼层
你能不能看一下我的回复
回复 支持 反对

使用道具 举报

发表于 2006-8-7 13:08:42 | 显示全部楼层
seamonkey 给你方法不行麽?
回复 支持 反对

使用道具 举报

发表于 2006-8-7 13:14:55 | 显示全部楼层
用world可以的。我经常这样做。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表