You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ahhh! Now I understand what's happening here. U+20E3 is 'COMBINING ENCLOSING KEYCAP' and it draws a box around the character that comes before it, so the sequence "U+0032 U+20E3" displays a '2' in a square box, which is what we want. I think I want to modify the parser to use the sequence of 2 unicode codepoints instead of just one or the other.
The problem with using the first one is that it replaces characters where you don't expect it to - it will replace any numbers in text with the numbers-in-boxes emoji, which is almost never what you want (and the reason I changed it to begin with).
--cal
The text was updated successfully, but these errors were encountered:
From an email conversation with 杜志刚:
On 3/27/2011 9:23 PM, 杜志刚 wrote:
Ahhh! Now I understand what's happening here. U+20E3 is 'COMBINING ENCLOSING KEYCAP' and it draws a box around the character that comes before it, so the sequence "U+0032 U+20E3" displays a '2' in a square box, which is what we want. I think I want to modify the parser to use the sequence of 2 unicode codepoints instead of just one or the other.
The problem with using the first one is that it replaces characters where you don't expect it to - it will replace any numbers in text with the numbers-in-boxes emoji, which is almost never what you want (and the reason I changed it to begin with).
--cal
The text was updated successfully, but these errors were encountered: