Gotcha. Un-validated unicode text boxes for names in forms from now on. After all, someone could be named like the contents of a 64MB binary blob.
Compromises are unavoidable in web development.
Compromises are unavoidable in web development.
Also, tell me what the purpose you're using my name for, e.g. "Name as it appears on your payment card/passport/ID/SSN" helps tremendously in resolving ambiguity.
Also, consider not asking for a name at all unless there's actually a good reason.
You probably need a length limit to prevent against attacks though. Just don't set it at 31 character.