G
Guest
Why can't I save a batch file as UTF-8 and run it? This ends up in error only.
Is there a way to use unicode text-files from command prompt? CMD, even with
/U switch or codepage 65001 (or 850), messes up scandinavian chars. If I run:
echo åäö > text.txt and: type text.txt, chars show as they should, but in the
text-file (using Notepad) they show up as garbage. So, if I want to edit the
file, I have to do it without a text editor (use command prompt?). If I use a
text editor, I have to put up with garbage in the command prompt output.
Antti
Is there a way to use unicode text-files from command prompt? CMD, even with
/U switch or codepage 65001 (or 850), messes up scandinavian chars. If I run:
echo åäö > text.txt and: type text.txt, chars show as they should, but in the
text-file (using Notepad) they show up as garbage. So, if I want to edit the
file, I have to do it without a text editor (use command prompt?). If I use a
text editor, I have to put up with garbage in the command prompt output.
Antti