Hello
I have the following test-script in Python, encoded in UTF-8:
# encoding: utf-8
# Set the console codepage for this script to UTF-8
# Shouldn't be necessary through the 1st line: #encoding: utf-8
#os.system('chcp 65001')
print("jö, jä, jü")
print(u"jö, jä, jü")
After I open the...
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...
In the olden days BTM files were encoded with IBM437. When I upgraded, the encoding apparently changed. My block characters no longer display properly. What in the new encoding?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.