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
{{ message }}
Repository navigation
Some emoji, eg 'π' don't work, whereas others like 'β°' doΒ #1329
Seems like there is an issue in both PS and PSRL. We can keep this issue here for now. Removing PSRL and on macOS, simply pasting "π results in οΏ½"ποΏ½. Quite strange.
Cooked read is provided by conhost.exe, not Core, and we cannot change it without significantly impacting application compatibility all across Windows. Raw input with a readline-like library is the correct thing to do.
Revisiting this issue, I dont seem to get any errors copying and pasting large sets of emojis in Windows Terminal with PowerShell 7.3.1 and PSReadLine 2.2.6
Without windows Terminal it seems to be okay but has little different rendering and a few ??
With Mac it gets a little messy with more than like 2 emojis, see screen recording
Uploading Screen Recording 2023-01-04 at 9.14.48 AM.movβ¦
Has this issue been fixed?
Whenever i enter a emoji like π€the windows terminal shows οΏ½ οΏ½ instead of rendering the proper emoji in the terminal when inputting an emoji
The information provided here is confusing me that is why asking.
Activity
vexx32 commentedon Jun 27, 2019
I wonder if this is due to PS itself or PSReadLine...
Can you
Remove-Module PSReadlineand try it again?mikemaccana commentedon Jun 27, 2019
After
Remove-Module PSReadlinevexx32 commentedon Jun 27, 2019
Interesting. Input doesn't like it much, but output is OK.
I'd venture to say this is probably an issue both for PS itself in places and the PSReadLine module as well,
Dongbo Wang (@daxian-dbw) any thoughts on this?
iSazonov commentedon Oct 2, 2019
/cc Dongbo Wang (@daxian-dbw) Steve Lee (@SteveL-MSFT) Should we track the issue here or in PSREadline repo?
SteveL-MSFT commentedon Oct 2, 2019
Seems like there is an issue in both PS and PSRL. We can keep this issue here for now. Removing PSRL and on macOS, simply pasting
"πresults inοΏ½"ποΏ½. Quite strange.SteveL-MSFT commentedon Oct 3, 2019
chuanjiao10 that may be true on Windows, but on macOS there is still an issue although perhaps different from the original issue
daxian-dbw commentedon Oct 9, 2019
In Windows Terminal, garbage characters may appear when deleting the emoji character.
iSazonov commentedon Jan 31, 2020
Dongbo Wang (@daxian-dbw) Is any updates in PSRL with the issue?
daxian-dbw commentedon Jan 31, 2020
Ilya (@iSazonov) Unfortunately, no news from the
PSReadLineside. also, as mentioned in this issue, the same repros withoutPSReadLine.DHowett-MSFT commentedon Jan 31, 2020
PSReadline uses raw input and non-PSReadline uses
COOKED_READin the console host. One of these things can never be fixed πiSazonov commentedon Jan 31, 2020
I'd prefer to get updated
COOKED_READin Core.DHowett-MSFT commentedon Jan 31, 2020
Cooked read is provided by conhost.exe, not Core, and we cannot change it without significantly impacting application compatibility all across Windows. Raw input with a readline-like library is the correct thing to do.
iSazonov commentedon Jan 31, 2020
I mean that this must be in Core so that we do not re-implement this in every application. Is there a tracking issue?
9 remaining items
daxian-dbw commentedon Jun 5, 2020
Patrick Meinecke (@SeeminglyScience) Yes, please open a new issue for
Delete. Thanks!daxian-dbw commentedon Jun 10, 2020
For me later: microsoft/terminal#1503 (comment)
rayphi commentedon Aug 27, 2020
I've got also an Exception for a πin my commit message.
Exception:
chenshuai2144 commentedon Sep 1, 2020
I have same error

ninmonkey commentedon May 1, 2021
This caused by
PSReadLineitselfError Case:
π₯οΈorπgi 'then paste the pathFile not found
I verified
gi (get-clipboard)does have the right path.Working Case: Remove-Module
Remove-Module PSReadLineGet-Item does find the file
Notes:
It doesn't seem to matter whether the 3 encodings are set to
utf16levsutf8[console]::InputEncoding, [console]::OutputEncoding, $OutputEncodingEven though the terminal didn't render the runes correctly, the paste still was the valid path

StevenBucher98 commentedon Jan 4, 2023
Revisiting this issue, I dont seem to get any errors copying and pasting large sets of emojis in Windows Terminal with PowerShell 7.3.1 and PSReadLine 2.2.6
Without windows Terminal it seems to be okay but has little different rendering and a few ??
With Mac it gets a little messy with more than like 2 emojis, see screen recording
Uploading Screen Recording 2023-01-04 at 9.14.48 AM.movβ¦
UsmanTariq2 commentedon Feb 7, 2024
Has this issue been fixed?
Whenever i enter a emoji like π€the windows terminal shows οΏ½ οΏ½ instead of rendering the proper emoji in the terminal when inputting an emoji
The information provided here is confusing me that is why asking.