justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.

Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Sometimes, gfx.getchar returns two character in a queue, like 261 and 128 when I enter the €-symbol on a german keymap. How do I interpret these two values to convert it into €? Or into UTF8 or something?
Asked by Mespotine (46.114.200.x) on December 9 2022, 5:30pm
Reply on December 10 2022, 7:08pm:
    Sadly I don't have a good answer for this one at the moment

  • Posted by Mespotine (46.114.204.x) on December 11 2022, 10:38am:
    Bummer. It's actually one of the last corners of Reaper, where things are impossible to handle. :/ I've toyed around with ReaImgui, which can access all keyboard-codes in a way, that you can convert them using utf8.char() into their character representation. Wouldn't it be possible to to learn from how they do it?

  • Posted by Justin on December 12 2022, 2:55am:
    This on Windows?

  • Posted by Justin on December 12 2022, 3:38am:
    ah, actually maybe I can fix this

  • Posted by Ian the The (194.191.233.x) on December 12 2022, 3:47am:
    I'm guessing it's the modifier key - CtrlAlt and then the € which 128...?

  • Posted by Mespotine (46.114.205.x) on December 12 2022, 10:46am:
    Ohh, that would be awesome! Yeah, it's windows and yes, alt-gr is the same as ctrl+alt combined.

    Your Name:   -- Site Owner's Name:  (for human-verification)


[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2023 Justin Frankel. | RSS