#81 Can't input combined emojis

Otwarty
otworzone 1 rok temu przez nuclearkev · 1 komentarzy

I don't think this is super important but if you attempt to input a combined emoji you'll get some control characters instead of the actual unicode values. This issue is because gtemp (the temp buffer used to hold both clipboard and unicode inputs) is a char_t[] and not an uint32_t[]. The best solution would be to covert the unicode characters into their char_t equivalents using something similar to char_to_unicode but reversed. Simply casting the uint32_t to a char_t doesn't work here.

I don't think this is super important but if you attempt to input a combined emoji you'll get some control characters instead of the actual unicode values. This issue is because `gtemp` (the temp buffer used to hold both clipboard and unicode inputs) is a `char_t[]` and not an `uint32_t[]`. The best solution would be to covert the unicode characters into their `char_t` equivalents using something similar to `char_to_unicode` but reversed. Simply casting the `uint32_t` to a `char_t` doesn't work here.
Kevin "The Nuclear" Bloom skomentował 4 miesięcy temu
Właściciel

Thanks to dff57060c7, I think this will be easier to fix than expected. It's not working as of now but it may just need a small tweak to work.

Thanks to dff57060c76fad8caf7cb4b40e18e545ac58e161, I think this will be easier to fix than expected. It's not working as of now but it may just need a small tweak to work.
Zaloguj się, aby dołączyć do tej rozmowy.
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.