Board logo

标题: [文本处理] 批处理怎样生成unicode编码的文本? [打印本页]

作者: SHIRANUI    时间: 2010-5-24 19:46     标题: 批处理怎样生成unicode编码的文本?

type !end!>>"output\%name%.txt"


想让生成的txt采用unicode编码
作者: hanyeguxing    时间: 2010-5-24 20:07

  1. @echo off
  2. >uni.txt cmd /u/c echo.hanyeguxing123
复制代码
要求,输出的内容只能是西方字符集内的。
作者: SHIRANUI    时间: 2010-5-24 20:21

输出的内容中有中文。。。。。。。。。。。。
作者: hanyeguxing    时间: 2010-5-24 20:32

原帖由 SHIRANUI 于 2010-5-24 20:21 发表
输出的内容中有中文。。。。。。。。。。。。

VBS版文件编码识别、转换工具(GB2312、UTF-8、Unicode、BIG5)
http://bbs.bathome.net/thread-3900-1-1.html




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2