Batch file with non-ASCII characters

Viewed 1397

I need to link to a folder that contains the character "æ" in a batch script.

I run into trouble when I run the script though. The command prompt misreads the non-ASCII characters. I've tried saving the file as both ANSI and Unicode. I'm running Windows 7.

Here's a minimal example:

echo øl
2 Answers

I use Notepad++. Choose first encoding (OEM 850 for exemple) and type normally.

Related