When creating a character the actual text box has issues with input, and when encountered will generate the character with a random name.
To repeat this issue start creating a character and when filling in the name put some text and then use the navigation buttons (Home, End, Cntrl+Home, Shift+Home, etc.) and the character will be generated with a random name.