Hi, thanks for your work on this project. It's been invaluable!
According to this document emoji presentation sequences should be treated as "East Asian Wide".
[UTS51] emoji presentation sequences behave as though they were East Asian Wide, regardless of their assigned East_Asian_Width property value.
When wcwidth reads in the EastAsianWide.txt file, it discards all the emoji presentation sequences it finds, rather than treating them as being wide (since it discards everything without W or F properties).
The full list of 353 emojis affected is available at:
https://unicode.org/emoji/charts/emoji-variants.html
wcwidth will report all of the emoji in the above list as having width 1 instead of width 2.
I would be happy to PR this, but I'm not sure the master branch is clean - I noticed some walrus operators etc. despite my understanding being that this project is 2.7 compatible
Hi, thanks for your work on this project. It's been invaluable!
According to this document emoji presentation sequences should be treated as "East Asian Wide".
When
wcwidthreads in theEastAsianWide.txtfile, it discards all the emoji presentation sequences it finds, rather than treating them as being wide (since it discards everything withoutWorFproperties).The full list of 353 emojis affected is available at:
https://unicode.org/emoji/charts/emoji-variants.html
wcwidthwill report all of the emoji in the above list as having width 1 instead of width 2.I would be happy to PR this, but I'm not sure the
masterbranch is clean - I noticed some walrus operators etc. despite my understanding being that this project is 2.7 compatible