--TEST-- Script encoding autodetection (UTF-16BE) --INI-- unicode.output_encoding=CP866 --FILE-- --EXPECT-- тест - ok