:: isDBCS.cmd - check whether the parameters contain multibyte characters
:: qzwqzw@www.cn-dos.net - 2008-01-05 21:18
@echo off & setlocal EnableDelayedExpansion
set strInput=%*------------------------------
set strInput=%strInput:~0,30%
echo %strInput%> "%temp%\_isDBCS.tmp"
for %%f in ("%temp%\_isDBCS.tmp?") do (
if "%%~zf"=="32" (echo parameter %* does not contain multibyte characters
) else ( echo parameter %* contains multibyte characters )
del "%%~f"
)
pause
Recent Ratings for This Post
( 1 in total)
Click for details
| Rater | Score | Time |
|---|---|---|
| everest79 | +15 | 2008-01-05 21:44 |
