diff --git a/src/Symfony/Component/Console/Tests/phpt/windows_input_encoding.phpt b/src/Symfony/Component/Console/Tests/phpt/windows_input_encoding.phpt new file mode 100644 index 0000000000000..b7b45827bb5ff --- /dev/null +++ b/src/Symfony/Component/Console/Tests/phpt/windows_input_encoding.phpt @@ -0,0 +1,25 @@ +--TEST-- +QuestionHelper should parse special chars on windows input. +--STDIN-- +à é +--FILE-- +write((new QuestionHelper())->ask(new ArgvInput(), $output, new Question("Special chars\n"))); +exit(0); +?> +--EXPECTF-- +Special chars +à é