I am trying to read a binary file in which i have been appending data using a BinaryWriter
object. I keep getting this error:
"The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'."
My file has characters like |
which i suspect are the problem but I don't know how to solve it.