China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 05:08
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Question about document encoding methods View 667 Replies 3
Original Poster Posted 2009-06-26 21:36 ·  中国 北京 联通
初级用户
Credits 25
Posts 20
Joined 2009-06-16 23:10
17-year member
UID 147569
Status Offline
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!
Floor 2 Posted 2009-06-27 02:26 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
This, yes, it can.
Floor 3 Posted 2009-06-27 09:52 ·  中国 吉林 延边朝鲜族自治州 延吉市 电信
银牌会员
★★★
正在学习中的菜鸟...
Credits 1,039
Posts 897
Joined 2009-03-01 15:34
17-year member
UID 140302
Gender Male
From 在地狱中仰望天堂
Status Offline
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.
Floor 4 Posted 2009-06-29 04:50 ·  中国 北京 联通
初级用户
Credits 25
Posts 20
Joined 2009-06-16 23:10
17-year member
UID 147569
Status Offline
Could the brother in post #3 explain it in more detail?
Forum Jump: