Douglas Matos Gomes
Douglas Matos Gomes
std::string is just bytes, Arena must be sending the correct encoding to standard input and console is using UTF-8.
I cannot reproduce on this my system (Linux). Someone else has to check if we are going to find a potential fix. See link for an attempt. [https://github.com/dsmsgms/Stockfish/tree/non_utf8_path/](https://github.com/dsmsgms/Stockfish/tree/non_utf8_path/)
I came up with a dirty trick that might solve the problem. It would be easy to test for regression, but it is a functional change nonetheless.
I forgot to put the link: https://github.com/dsmsgms/Stockfish/commit/23494555411e120573a4f2b62e519aa9b1648204 I might test it in a latter occasion.