We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa52701 commit 5b33ba3Copy full SHA for 5b33ba3
makePDF.py
@@ -20,6 +20,7 @@
20
def getOEMCP():
21
# Windows OEM/Ansi codepage mismatch issue.
22
# We need the OEM cp, because texify and friends are console programs
23
+ import ctypes
24
codepage = ctypes.windll.kernel32.GetOEMCP()
25
return str(codepage)
26
0 commit comments