- Aug
- 11
- 1
Is there a way to set the code page for a certain batch file?
I have all those old batch files from 4NT/4DOS times that are written with CP 437 and the umlauts come out wrong. Sure, I could switch to CP 850 now, but I'd rather have an option that describes what CP a batch file is in, thus allowing for good internationalisation.
Python as a blueprint come to mind: https://www.python.org/dev/peps/pep-0263/
Any other scheme will do as well... ;)
I have all those old batch files from 4NT/4DOS times that are written with CP 437 and the umlauts come out wrong. Sure, I could switch to CP 850 now, but I'd rather have an option that describes what CP a batch file is in, thus allowing for good internationalisation.
Python as a blueprint come to mind: https://www.python.org/dev/peps/pep-0263/
Any other scheme will do as well... ;)