Charset="WTF-8"
wtf-8.xn--stpie-k0a81a.com
Charset="WTF-8"
1–10 of 463 posts
Re: Charset="WTF-8"
#2A coworker once implemented a name validation regex that would reject his own name. It still mystifies me how much convincing it took to get him to make it less strict.
Re: Charset="WTF-8"
#3A coworker once implemented a name validation regex that would reject his own name. It still mystifies me how much convincing it took to get him to make it less strict.
Is name validation even possible?
Re: Charset="WTF-8"
#4A coworker once implemented a name validation regex that would reject his own name. It still mystifies me how much convincing it took to get him to make it less strict.
Is name validation even possible?
Yes, it is essential when you want to avoid doing business with customers who have invalid names.
Re: Charset="WTF-8"
#5Re: Charset="WTF-8"
#6A coworker once implemented a name validation regex that would reject his own name. It still mystifies me how much convincing it took to get him to make it less strict.
Is name validation even possible?
Yes, it's easy
bool ValidateName(string name) => true;
(With the caveat that a name might not be representable in Unicode, in which case I dunno. Use an image format?)Re: Charset="WTF-8"
#7Re: Charset="WTF-8"
#8Re: Charset="WTF-8"
#9Earlier quoted context omitted.
Is name validation even possible?
Yes, it is essential when you want to avoid doing business with customers who have invalid names.
What are “invalid names” in this context? Because, depending on the country the person was born in, a name can be literally anything, so I’m not sure what an invalid name looks like (unless you allow an `eval` of sorts).
Re: Charset="WTF-8"
#10I have an 'æ' in my middle name (formally secondary first name because history reasons). Usually I just don't use it, but it's always funny when a payment form instructs me to write my full name exactly as written on my credit card, and then goes on to tell me my name is invalid.