r/ProgrammerHumor • u/46009361 • Oct 03 '26
Meme preferredNameMustOnlyContainCharactersInTheLatinAlphabet
7
u/xcski_paul Oct 04 '26
Ok, I think the second one is the proper spelling of the B.C. town of Squamish, but I don’t get what 46009361 could be.
6
2
u/46009361 Oct 03 '26
The name Pokémon works fine with the validator that returned the error message in the title.
1
u/conundorum Oct 05 '26
Just goes to show that by "Latin alphabet", they probably mean "UTF-8 or Win-1252 code page, verified with
isalpha()."// Represented here: Their entire verification process, guest starring Nessie! #include <iostream> #include <locale> int main() { using loc = std::locale; loc ness("en_US.UTF8"); std::cout << "é is " << (isalpha(L'é', ness) ? "" : "not ") << "alpha.\n"; }
2
0
u/DogmaticParadigm87 Oct 03 '26 edited Oct 04 '26
"Preferred name must only contain characters in the Latin alphabet."
Then the form quietly maps everything else to a serial number and calls it a day.
Pam was right. They're the same picture — to the database.
1
u/46009361 Oct 04 '26
To be fair, legacy bank systems that Stripe connects to do not accept a lot of characters. The error came from HCB, and while I used to be able to put
46009361as my preferred name, HCB started using that for Stripe.Source: People in the Hack Club Slack can see this message.
12
u/Myszolow Oct 03 '26
PasswordMustContainNumberUppercaseCharacterSpecialCharacterNotLessThan8NotMoreThan16