Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "code-pages"

Index

Variables

Let _CODEPAGE

_CODEPAGE: Promise<string> | undefined = undefined

A promise for idempotent codepage aquisition. @see getWindowsCodepage

Const log

log: Logger = createLogger('code-pages')

Functions

_getWindowsCodePage

  • _getWindowsCodePage(): Promise<string>
  • Do the actual call to chcp to get the currently active codepage

    Returns Promise<string>

getCodePageTable

getWindowsCodepage

  • getWindowsCodepage(): Promise<string>
  • Return the currently active Windows codepage (done by calling chcp in a subprocess');

    Returns Promise<string>

Generated using TypeDoc