I've been using miktex for months without "unsolvable" problems. However, now, unexpectedly, when I open the MiKTeX Console it appears the following error message:
Invalid or unsupported charset:utf-8.utf-8
and the console does not open. Furthermore, I cannot compile any latex file. When I use texify, or compile with the editor it appears the following error message:
terminate called after throwing an instance of 'boost::locale::conv::invalid_charset_error'
I use an Ubuntu 20.04.3, recently updated. However, I remember that I had compiled a file after the update so it may not be the problem.
Checking errors in the .log files inside .miktex directory I've finded
INFO initexmf.core - forking...
ERROR initexmf.core - Something is wrong with the PATH:
ERROR initexmf.core - /usr/local/sbin:/usr/local/bin:/usr/sb>
So may be there's a wrong path set in some file. How can I know which is the corrupted file?
Thank you for any ideas or comments about this. I'm sorry that I cannot provide more information, these error messages seem to be very cryptic.