| 1 |
@echo off |
| 2 |
REM This script demonstrates how to use Unicode file names |
| 3 |
REM in a batch script. |
| 4 |
REM This script is in UTF-8 encoding. |
| 5 |
REM This script must NOT have a BOM (Byte Order Mark). Notepad will |
| 6 |
REM add one when you save the file. Remove it with unix2dos -r test.bat |
| 7 |
REM This script will only run on Windows 7 and higher. |
| 8 |
|
| 9 |
REM switch to UTF-8 code page |
| 10 |
chcp 65001 |
| 11 |
dos2unix -D unicode -i uni_el_αρχείο.txt uni_zh_文件.txt |
| 12 |
|
| 13 |
REM set code page back to original value |
| 14 |
chcp 850 |