PHP does not display accepts input of UTF-8 characters (accented characters) in interactive mode (REPL)

0

I'm trying to make use of the command line to make a small change on the server, namely I'm using PHP in the command line in interactive mode, however I realized that PHP is not accepting accented characters.

In the local environment, it works normally, but when on the Amazon server, simply PHP on the command line does not accept to place accented letters!

I've already tested using Boris, Psysh, and the php -a command itself. All of these run PHP in interactive mode (REPL), but in no way do I accept typing accented characters. When I type, or even try to paste, they just do not show up!

Does anyone know what can make this happen?

    
asked by anonymous 03.05.2017 / 15:58

0 answers