How to insert Unicode to file over SSH connection #6019

Closed
opened 2026-01-31 00:27:59 +00:00 by claunia · 1 comment
Owner

Originally created by @AmericanY on GitHub (Jan 17, 2020).

I'm trying to paste Unicode which is 🔥 to file over SSH connection to my CentOS 8 server.

I'm trying to paste the following to the file

function fish_title
    echo "🔥 AmericaN 🔥"
end

But upon trying to paste it into file.

I see the following:

function fish_title
    echo " AmericaN "
end

enter image description here

via cat command, still unable to see it.

here's the output of locale and $TERM

❯ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
❯ echo $TERM
xterm-256color

I'm pasting to the file using CTRL+V or SHIFT+INSERT or mouse right-click.

the editor is nano

Originally created by @AmericanY on GitHub (Jan 17, 2020). I'm trying to paste `Unicode` which is 🔥 to file over `SSH` connection to my `CentOS 8` server. I'm trying to paste the following to the file ``` function fish_title echo "🔥 AmericaN 🔥" end ``` But upon trying to paste it into file. I see the following: ``` function fish_title echo " AmericaN " end ``` [![enter image description here][1]][1] [1]: https://i.stack.imgur.com/dOYjT.png via `cat` command, still unable to see it. here's the output of `locale` and `$TERM` ``` ❯ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= ``` ``` ❯ echo $TERM xterm-256color ``` I'm pasting to the file using <kbd>CTRL+V</kbd> or <kbd>SHIFT+INSERT</kbd> or mouse right-click. the `editor` is `nano`
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 00:27:59 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 17, 2020):

The version of OpenSSH-Win32 that’s available today doesn’t support receiving Unicode. That has been fixed pending release!

@DHowett-MSFT commented on GitHub (Jan 17, 2020): The version of OpenSSH-Win32 that’s available today doesn’t support receiving Unicode. That has been fixed pending release!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6019