Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. QuestionHelper.php

function QuestionHelper::setIOCodepage

1 call to QuestionHelper::setIOCodepage()
QuestionHelper::readInput in vendor/symfony/console/Helper/QuestionHelper.php
Reads one or more lines of input and returns what is read.

File

vendor/symfony/console/Helper/QuestionHelper.php, line 528

Class

QuestionHelper
The QuestionHelper class provides helpers to interact with the user.

Namespace

Symfony\Component\Console\Helper

Code

private function setIOCodepage() : int {
    if (\function_exists('sapi_windows_cp_set')) {
        $cp = sapi_windows_cp_get();
        sapi_windows_cp_set(sapi_windows_cp_get('oem'));
        return $cp;
    }
    return 0;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal