Use Characters ÅÄÖ and other Country/region Characters

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Saitto
Posts: 6
Joined: 23 Nov 2014 10:38

Use Characters ÅÄÖ and other Country/region Characters

#1 Post by Saitto » 05 Dec 2014 04:39

Greetings!

If you do this in your batch script "@echo åäö" e.g. your command prompt terminal
will show you some strange letters...

how to fix this fast any easy?
Code page Country/region or language
437 United States
850 Multilingual (Latin I)
852 Slavic (Latin II)
855 Cyrillic (Russian)
857 Turkish
860 Portuguese
861 Icelandic
863 Canadian-French
865 Nordic
866 Russian
869 Modern Greek

Example:
CMD > chcp /?
your current character tabel is...

so!
in Batch Script:
@echo off
chcp 65001
echo åäö
pause

Hope you will enjoy this!


source:
http://technet.microsoft.com/en-us/libr ... 33037.aspx

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Use Characters ÅÄÖ and other Country/region Characters

#2 Post by Squashman » 05 Dec 2014 07:51

You are just preaching to the choir. This topic has been covered plenty of times on the forum already.


Post Reply