Search code examples
pythonpython-2.7cp1252

Binary representations of the cp1252 encoded characters


Where can I find the binary representations of the characters encapsulated within the cp1252 character library for Windows(e.g. •, †, …, etc.)?


Solution

  • You can find it in Lib/encodings/cp1252.py

    It was generated from ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT