- Feature Articles
- CodeSOD
- Error'd
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
For those of us outside the US, could anyone explain the zip code one?
Edit Admin
Since addresses on envelopes are all OCR'ed these days, using O for 0 is a clever* solution.
Edit Admin
Zip-codes in the US are not alphanumeric, strictly numeric.
Edit Admin
ZIP ("Zone Improvement Program") codes are five-digit postal codes ranging from 00501 to 99950, indicating where in the United States a letter or parcel should be delivered to. Per https://en.wikipedia.org/wiki/ZIP_Code, the codes with a leading zero are used in Connecticut (CT), Massachusetts (MA), Maine (ME), New Hampshire (NH), New Jersey (NJ), New York (NY, Fishers Island only), Puerto Rico (PR), Rhode Island (RI), Vermont (VT), Virgin Islands (VI), Army Post Office Europe, Central Asia, and the Middle East (APO AE); Fleet Post Office Europe and the Middle East (FPO AE).
The leading zero is supposed to be mandatory, but B.J.H. has given us evidence that if it's absent the letters can get through anyway!
In the photo, the organization sending this letter (epic.org) has used a letter O in place of the leading zero.
Admin
Think of it like the UK Postal Code... But not as well confgured...
Admin
0h, I see now.
Edit Admin
I recall (perhaps it was a previous WTF) where a database was being loaded with a zipcode column, and it was erroring out only on the east-coast zipcodes that looked like "08" or "09" or had 8's and 9's in them somewhere. Very puzzling until someone mentioned "octal".
Edit Admin
I imagine the USPS has seen enough 4-digit zipcodes on mailpieces that them considering "1470" to be "01470" is special-cased into their OCR software.
Edit Admin
I imagine the USPS has seen enough 4-digit zipcodes on mailpieces that them considering "1470" to be "01470" is special-cased into their OCR software.
Addendum 2025-05-03 09:07: Meaning that EPIC's ham-handed attempt to fix their screwed up zip-as-numeric with a leading "O" = "oh" was unnecessary.
Admin
I live in a country that uses four-digit postcodes.
I once ordered something from a US company, who saw my 4-digit postcode, added a leading zero, and shipped it to the corresponding US address. It did eventually reach me --- after twice crossing the Pacific Ocean.