Message397673
We can probably leverage the unicodedata_UCD_east_asian_width_impl function in the unicodedata extension module to get the width of every character as emojis normally take 2 characters in the terminal. We could expose the necessary functions from there and use them in the _PyPegen_byte_offset_to_character_offset function |
|
Date |
User |
Action |
Args |
2021-07-16 21:51:22 | pablogsal | set | recipients:
+ pablogsal, terry.reedy, nedbat, aroberge, Mark.Shannon, serhiy.storchaka, ammar2, miss-islington, brandtbucher, BTaskaya |
2021-07-16 21:51:22 | pablogsal | set | messageid: <1626472282.69.0.695461385871.issue43950@roundup.psfhosted.org> |
2021-07-16 21:51:22 | pablogsal | link | issue43950 messages |
2021-07-16 21:51:22 | pablogsal | create | |
|