macvim-dev / macvim-dev/macvim

Letter 🅱️ prints as ¥ in MacVim (but not in terminal Vim or less)

Open
#725 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Renderer
Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

Try typing 🅱️ (or opening a text file with that in it) in MacVim. It will display it as ¥.

If you inspect the character with :ascii you see it is the correct character in the status line, albeit it displayed as the text version of the emoji. Writing the file correctly writes it as 🅱️, it just displays as ¥.

Opening it with Vim on Terminal.app displays it correctly, as does with less.

Here's my MacVim version

VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug  8 2018 18:09:39)
macOS version
Included patches: 1-235
Compiled by Homebrew

I use font Menlo.

Here's my Vim version (it's the same one)

vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug  8 2018 18:09:39)
macOS version
Included patches: 1-235
Compiled by Homebrew

I'm running on macOS High Sierra version 10.13.6 (17G65).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the display issue in MacVim on macOS High Sierra with the Menlo font, then compare the same emoji in Terminal Vim and less. Use :ascii and a saved file to verify the character remains correct; done means 🅱️ displays as the emoji rather than ¥ without changing the written character.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.