中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 06:08
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » Question about document encoding methods
Printable Version  669 / 3
Floor1 jwm112377 Posted 2009-06-26 21:36
初级用户 Posts 20 Credits 25
A newbie question: when using batch files under a Chinese-enabled operating system, does the file being processed have to not be in Unicode encoding? Thanks!
Floor2 HAT Posted 2009-06-27 02:26
版主 Posts 5,017 Credits 9,023
This, yes, it can.
Floor3 Hanyeguxing Posted 2009-06-27 09:52
银牌会员 Posts 897 Credits 1,039 From 在地狱中仰望天堂
Under the cmd console, some commands do not support directly processing Unicode-encoded files, for example for /f. You can first process them with type or more.
Floor4 jwm112377 Posted 2009-06-29 04:50
初级用户 Posts 20 Credits 25
Could the brother in post #3 explain it in more detail?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023