A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/microsoft/terminal/issues/2770 below:

ConPTY mangles U+1F600 to U+FFFD · Issue #2770 · microsoft/terminal · GitHub

Environment

Windows build number: 10.0.18362.356
Windows Terminal version: 0.4.2382.0

Also reproducible with Alacritty on alacritty/alacritty#2438 with its ConPTY backend (enable_experimental_conpty_backend: true), and not with its WinPTY backend.

Steps to reproduce

Type U+1F600. (Ways of achieving this are discussed below.)

Expected behavior

U+1F600, 😀, should be the input.

Actual behavior

U+FFFD, REPLACEMENT CHARACTER, gets sent through instead.

This doesn’t affect most characters. This is the only such character that I regularly use that is affected. U+1F600 and U+1F700 are two examples of affected characters, while U+1F5FF and U+1F601 are examples of characters that are not affected.

How to reproduce if you’re not sure

If you don’t have an IME that lets you insert such characters, you can install WinCompose and type Compose1f600Enter, or put a line like this into %USERPROFIEL%\.XCompose:

<Multi_key> <colon> <D> : "😀" U1F600

… which will allow you to use Compose:D.

To inspect what’s been sent, I like to use Vim with its ga command.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3