-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
# # # # Environment
PSReadLine: 2.0.0
PowerShell: 5.1.22621.4391
OS: Microsoft Windows 10.0.22621
最後の 89 キー
g i t Spacebar i n i t Enter
g i t Spacebar a d d Spacebar . Enter
g i t Spacebar c o m m i t Spacebar - Spacebar " Backspace Backspace m Spacebar " � Spacebar I n i t i a l Spacebar c o m m i t : Spacebar a d d Spacebar d o w n l o a d e d Spacebar c o u r s e Spacebar m a t e r i a l s " Enter
# # # Exception
System.Text.EncoderFallbackException: インデックス 15 にある Unicode 文字 \uD83C を指定されたコード ページに変換できません。
場所 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.Dispose(Boolean disposing)
場所 System.IO.TextWriter.Dispose()
場所 Microsoft.PowerShell.PSConsoleReadLine.<>c__DisplayClass83_0.<WriteHistoryRange>b__0()
場所 Microsoft.PowerShell.PSConsoleReadLine.WithHistoryFileMutexDo(Int32 timeout, Action action)
場所 Microsoft.PowerShell.PSConsoleReadLine.MaybeAddToHistory(String result, List`1 edits, Int32 undoEditIndex, Boolean fromDifferentSession, Boolean fromInitialRead)
場所 Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
場所 Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
' ' '
PS X:\university-notes>
Screenshot
Metadata
Metadata
Assignees
Labels
No labels