You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search the existing issues, especially the pinned issues.
Exception report
Произошла ошибка. Сообщите об этой ошибке, указав данные ниже.Напишите в GitHub: https://github.com/PowerShell/PSReadLine/issues/new### СредаPSReadLine: 2.0.0PowerShell: 5.1.22621.2506ОС: Microsoft Windows 10.0.22631Последние 168 ключей UpArrow Enter g i t Spacebar a d d Spacebar . Enter g i t Spacebar c o m m i t Spacebar - Backspace Ctrl+w Ctrl+w Ctrl+w n p m Spacebar r e b u i l d Enter n p m Spacebar u n Backspace Backspace r e m o v e Spacebar @ t y p e s / n o d e Enter UpArrow Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w Ctrl+w g i t Spacebar a d d Spacebar . Enter g i t Spacebar c o m m m i Backspace Backspace i t Spacebar - m Spacebar " u p d a t e " Enter g i t Spacebar p u s h Enter g i t Spacebar a d d Spacebar . Enter g i t Spacebar c o m m i t Spacebar - Spacebar Backspace m Spacebar ' � ' Enter
Исключение
System.Text.EncoderFallbackException: Не удается преобразовать символ Юникода \uD83C по индексу 15 в формат заданной кодовой страницы.
в 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)
Prerequisites
Exception report
Исключение
Steps to reproduce
Write
git commit -m '
Paste this:
🇷🇺
Expected behavior
It should just paste the flag.
Actual behavior
It throws that exception. When I press enter to run the command, one of the characters dissapear, making the flag be a missing character instead.
The text was updated successfully, but these errors were encountered: