Click here to Skip to main content
15,917,565 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,
i have created a very large dat file which contains sine wave values in it, but when i try to read from this file in order to plot while checking the eof condition with:
while (br.PeekChar()!=-1)
{
//read
}
I get the error:
"The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'".

Please tell me how to resolve this?

P.S any way to use blob object here?
Posted
Updated 16-Jan-10 2:15am
v2

Why don't you post the line wherein the error occurs (i.e. the one reading data)?

Please Note: post any additional info inside your original post (modify it), don't add a 'fake' answer.

:)
 
Share this answer
 
v2
hi thank you for the fast reply...
i solved that error by using a blob counter...
thanks again... :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900