I am trying to write a binary search program for a class, and I am pretty sure that my logic is right, but I keep getting a non-UTF-8 error. I have never seen this error and
If you're using Notepad++, click Encoding at the top and choose Encode in UTF-8.
Encoding
Encode in UTF-8