bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2


From: Gavin Smith
Subject: Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2
Date: Tue, 4 Apr 2023 10:59:53 +0100

On Tue, Apr 04, 2023 at 09:35:07AM +0200, Arash Esbati wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > ??? What is your console output codepage set to?
> 
>   C:\>chcp
>   Aktive Codepage: 850.

The use of the codepage 850 instead of what 'locale' reports likely
comes from these lines in texi2any.pl:


if (!defined($locale_encoding) and $^O eq 'MSWin32') {
  eval 'require Win32::API';
  if (!$@) {
    Win32::API::More->Import("kernel32", "int GetACP()");
    my $CP = GetACP();
    if (defined($CP)) {
      $locale_encoding = 'cp'.$CP;
    }
  }
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]