macvim-dev / macvim-dev/macvim

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

未关闭
#725 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Renderer
主要语言
Vim Script
星标
7.9k
派生
691
PR 合并指标
30 天内没有已合并 PR

描述

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).

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

先使用 Menlo 字体在 macOS High Sierra 上的 MacVim 中复现显示问题,然后在 Terminal Vim 和 less 中比较相同的 emoji。使用 :ascii 和一个已保存的文件来验证字符仍然正确;当 🅱️ 显示为 emoji 而不是 ¥,且不更改写入的字符时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, vim
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。