Exception:无法将位于索引 104 处的 Unicode 字符 \uDD00 转换为指定的代码页。

报错信息

EncoderFallbackException
   在 System.Text.EncoderExceptionFallbackBuffer.Fallback(Char charUnknown, Int32 index)
   在 System.Text.EncoderFallbackBuffer.InternalFallback(Char ch, Char*& chars)
   在 System.Text.UTF8Encoding.GetBytes(Char* chars, Int32 charCount, Byte* bytes, Int32 byteCount, EncoderNLS baseEncoder)
   在 System.Text.EncoderNLS.GetBytes(Char[] chars, Int32 charIndex, Int32 charCount, Byte[] bytes, Int32 byteIndex, Boolean flush)
   在 System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   在 System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count)
   在 System.IO.TextWriter.SyncTextWriter.WriteLine(String value)
   在 System.Console.WriteLine(String value)
   在 WebSocketSharp.Logger.output(String message, LogLevel level)
   在 WebSocketSharp.WebSocket.<>c__DisplayClass174_0.<startReceiving>b__2(Exception ex)
   在 WebSocketSharp.Ext.<>c__DisplayClass54_0.<ReadBytesAsync>b__0(IAsyncResult ar)
   在 System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   在 System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   在 System.Net.Security._SslStream.StartFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   在 System.Net.Security._SslStream.ReadHeaderCallback(AsyncProtocolRequest asyncRequest)
   在 System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
   在 System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
   在 System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
   在 System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Net.ContextAwareResult.Complete(IntPtr userToken)
   在 System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   在 System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   在 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) 

解决方法

暂无解决方案。

相关信息
0 查看
2022-11-07 19:51
Quicker版本
版本 反馈次数