This is first reason why i made retro ingame keyboard for player’s nickname instead using of native keyboard:
The second reason is control on non-latin alphabet. Don’t forget that user can try to input someone like “моё замечательное имя” and your UI should not break from this.