Closed
Description
Symfony version(s) affected: 5.1.0
Description
When an UTF-8 character is confirmed in a console as a response to QuestionHelper's question, it gets replaced by '\'
or ''
.
E.g. 'Čeština'
> 'e\tina'
. My OS is Windows 10.
How to reproduce
// inside Command::execute
$response = $questionHelper->ask($input, $output,
new Question("Write something containing UTF-8 characters")
);
// response contains UTF-8 characters replaced by '\' or removed