Author Topic: UTF-8 character input  (Read 302 times)

0 Members and 1 Guest are viewing this topic.

Offline Phystam

UTF-8 character input
« on: July 04, 2017, 08:35:02 AM »
I could not input UTF-8 characters sequence such as Japanese.
When I added a code in "static void fill_event(event_t* const ev)" function of simevent.cc as follows:
Code: [Select]
switch (sys_event.type) {
    case SIM_KEYBOARD:
        ev->ev_class = EVENT_KEYBOARD;
        ev->ev_class = sys_event.code;
        break;
    case SIM_STRING: //added
        ev->ev_class = EVENT_STRING; //added
        ev->ev_ptr = sys_event.ptr; //added
        break; //added
    ...
}
then the issue was fixed. This code is included in standard version but not included in extended version.