MSYS2-packages icon indicating copy to clipboard operation
MSYS2-packages copied to clipboard

[nano] Full support for UTF8

Open AngelAGBL opened this issue 2 years ago • 1 comments

Description / Steps to reproduce the issue

Nerd fonts icons doesn't show correctly on nano editor, it shows other characters on screen

Steps to see the issue:

  1. Open nano editor
  2. Copy 󱫰 icon
  3. Paste the icon in nano

Expected behavior

If you are using a nerd font it should display the lecturn icon

Actual behavior

Pasting the icon in nano displays something like ' M-0' using LANG=en_US.UTF-8

Verification

  • [X] I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)

Windows Version

MSYS_NT-10.0-22631

Are you willing to submit a PR?

No response

AngelAGBL avatar Dec 14 '23 05:12 AngelAGBL

Maybe a limitation on nano's syntax highlighting. Try to run with nano AA.txt --ignorercfiles and see what happens.

Also make sure your emoji is a UTF-8 character andnot a UTF-16 or something else. (I can't even see it properly here in your OP.)

eabase avatar Nov 06 '24 02:11 eabase