I typed the golf flag in the subject line using macOS Cmd+Ctrl+Space shortcut to bring up the character picker.
Notice how the emoji has an extra unicode character square after it?
If I type the same subject line on iOS there is no extra character after the golf flag.
Thoughts?
3 个赞
sam
(Sam Saffron)
2018 年1 月 22 日 22:44
2
@j.jaffeux can you have a quick look, only appears to repro on mac (I saw it yesterday, but did not see on Windows)
Might just be older versions of OSX? I’m on High Sierra and I see
3 个赞
j.jaffeux
(Joffrey Jaffeux)
2018 年1 月 22 日 22:57
4
I can’t reproduce, also on sierra.
j.jaffeux
(Joffrey Jaffeux)
2018 年1 月 22 日 23:02
5
However, I copied the end of the title string:
irb(main):005:0> "⛳️".codepoints
=> [9971, 65039]
65039 is U+FE0F VARIATION SELECTOR-16 – Codepoints which I believe shouldn’t be here.
If I copy the emoji from ⛳ Flag in Hole Emoji and add it to the end of the title, save, and then edit and copy the end of the string:
irb(main):009:0> "⛳".codepoints
=> [9971]
So far my best guess it the macOS emoji picker is doing something it shouldn’t? Can you take a screen of what you see exactly please ? I might have a mac not on sierra, will try tomorrow.
Also I found this https://github.com/mathiasbynens/emoji-regex/issues/28#issuecomment-321435043 which tend to go in my direction
7 个赞
Now I’m seeing this:
I’m on High Sierra 10.13.2 (17C205) with Safari 11.0.2 (13604.4.7.1.6)
Interestingly I don’t see the block character using Chrome.
2 个赞
I’ve reported this bug to Apple, rdar://36800472
I does it in a blank plain text file, so it’s definitely a macOS problem.
emoji.txt (6 Bytes)
Thanks all
6 个赞
What should we see inside the emoji.txt ?
I have the issue with Safari too, but not with TextEdit.