How to use batch file as UTF-8 mode in Windows 11

Discussion in 'Windows 11' started by Zenkaino lovelive, Mar 9, 2024.

  1. Zenkaino lovelive

    Zenkaino lovelive MDL Member

    Nov 18, 2019
    216
    53
    10
    #1 Zenkaino lovelive, Mar 9, 2024
    Last edited: Mar 10, 2024
    You can follow three steps.
    1. Put "CHCP 65001" at the beginning of the script.
    2. Save as UTF-8.
    3. Add a space (or regular character) to the end of a sentence if UTF special character reading error is occured.