Ich habe dazu im Konstruktor meines TextFields


SDL_EnableUNICODE( SDL_ENABLE );

und im handleInput



switch(ev->key.keysym.sym)