Using non-ASCII characters in a cmd batch file

前端 未结 4 1385
小蘑菇
小蘑菇 2020-12-20 19:07

I\'m working on a .bat program, and the program is written in Finnish. The problem is that CMD doesn\'t know these \"special\" letters, such as Ä, Ö, Å.

4条回答
  •  感情败类
    2020-12-20 19:13

    Theoretically you just need to use the /u (Unicode) switch:

    c:\>cmd /u
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    c:\>echo Ä
    Ä
    

提交回复
热议问题