2.10. lf.win.codepage — Microsoft Windows OEM code pages 720 and 858

The Python standard library does not provide support for Microsoft Windows OEM code pages 720 and 858. This package adds supports for these two code pages.

Note

Importing this module does not automatically register the new codecs with the global (system) codec registry. To do this, call the add_codecs() function.

lf.win.codepage.add_codecs()
Adds the cp720 and cp858 codecs to the global codec registry.
lf.win.codepage.search_function(encoding_name)

Passed to codecs.register() to locate cp720 and cp858 codecs.

Parameter:encoding_name (str) – The name of the encoding.
Return type:CodecInfo
Returns:A CodecInfo object describing code pages 720 or 858.

Previous topic

2.9. lf.win.consts.vkcode — Virtual key code constants

Next topic

2.11. lf.win.codepage.consts — Code page constants

This Page