On Win32 (Strawberry perl): $chcp Текущая кодовая страница: 866 $perl -MEncode -e "binmode STDOUT, ':encoding(CP866)'; open my $f, '<', 'notafile' or print decode('WINDOWS-1251', qq{error is: [$^E]})" error is: [Не удается найти указанный файл] (firs command outputs "codepage" encoding, last prints sane Russian error message) 2013/9/10 Karl Williamson <public@khwilliamson.com> > > Does anyone know if the strings for the platforms that have separate $^E > strings return those in the current locale or not? > > These include vms, win32, dos, and os/2. > >Thread Previous | Thread Next