@la_ninpre sending utf8 out works! In left, if you ctrl+p a utf8 selection, it'll print it correctly
Top-level
@la_ninpre sending utf8 out works! In left, if you ctrl+p a utf8 selection, it'll print it correctly 13 comments
@la_ninpre Oh, yeah that's a SDL thing. The shavian onscreen keyboard I use sends multiple bytes to left https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/gui/shaviankb/assets.tal#L71 @neauoire i was trying to say that what if we just send all input from the keyboard to the console port instead of controller. i know that this it not how it is supposed to work, but that would make multibyte input possible without rewriting uxntal code that expects one value from the Controller/key... @la_ninpre Oh, haha. No that's not the way to do this, you want to run a controller vector evaluation for each byte. @la_ninpre It depends on the program, but in left for example, both vectors run the same <insert> subroutine. @neauoire can you review a patch for uxnemu then? sent to your email. @neauoire i am sorry, did you get it? i suspect i could've sent it to the wrong address. @la_ninpre I did! I merged it locally but I want to test it some more, can you gimme 3-4 hours? if I hit an issue I'll let you know, otherwise it'll be merged @neauoire of course, it's okay. i asked not because i wanted you to review it asap, haha. i was just unsure about email address, i remember you were on gmail in the past |
@neauoire i was talking about typing on a keyboard
here: https://git.sr.ht/~rabbits/uxn/tree/main/item/src/uxnemu.c#L366
if i type some character that's not ascii, for example, รก (U+00E1), only the first byte (0xc3) of the utf-8 sequence 0xc3a1 gets recorded.