NPP_HandleEvent: limit char event to printable characters