Due to various reasons I’m getting the error messages Malformed UTF-8 character and
Wide character in print from a legacy script.
I would like to suppress/disable those two warnings so that they are not written to STDERR.
How do I do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
But it’s best to figure out why you’re getting the warning and fix the underlying problem. Those two warnings indicate something is going wrong in your script. Suppressing the warnings won’t fix the error.