--TEST-- Script encoding autodetection (UTF8) --SKIPIF-- --INI-- unicode.output_encoding=CP866 --FILE-- --EXPECT-- тест - ok