- 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
Edit Admin
I suppose we won't discuss the small point that the code presented is probably not endian-safe, and on most modern architectures, it requires that the file's two first bytes are not "0xb0/0xb1/0xb3 followed by 0xab".
Maybe that's what's wanted, but I have some doubts.
Edit Admin
Maybe the lowercase numbers can be the odrinals: frist, secnod, thrid, and so on.
I had thought there had been a comment in https://www.explainxkcd.com/wiki/index.php/2206:_Mavis_Beacon about uppercase and lowercase numerals in Chinese, but can't see it there.
Admin
Like this: ₃
Admin
Well, 3 is lowercase. Uppercase would be # (as in Chanel #5, or the email adress [email protected], which sports an uppercase 2.)
Admin
Edit Admin
I'm sorry, but this isn't true. 1 is clearly an upper-case &. It's plain as day on my keyboard.
Admin
What about ³ ?
Admin
FTFY. On an English English keyboard, uppercase 2 is ", just like in Denmark, while uppercase 3 is £.
Edit Admin
Tsk. There are multiple keyboard layouts that one could call English (== designed for the English language), and they aren't the same in the "upper case" versions of the top row. Indeed, in context, we have to note that the one that's actually English (== used in England) has a " on the upper-case 2 position, and not an @.
Admin
There actually is such a thing as lower-case numbers, although they aren't very interesting. I'll provide a link in a follow-up comment so this one doesn't get held for moderation.
Admin
https://graphicdesign.stackexchange.com/questions/54423/why-dont-upper-case-numbers-exist
Admin
In ASCII numbers are clearly lower-case forms of the range
SPACE, !, ", #, $, %, &,', (, )
— as may be discerned by having bit 4 set.(By simple analogy, what we know as numbers are simply lower-case punctuations with bit 4 set, while lower-case letters have bit 5 set. ;-) )
Admin
Oxb1 says 'these are not the header bytes you are looking for'
Admin
And they completely missed 0xAbb0, 0xABb0, 0xAbB0, etc!
Edit Admin
Well on my keyboard, uppercase
3
is£
...Admin
Dev thinks hexadecimal numbers should have a difference between lowercase and uppercase.
Expectation: Dev gets a lower pay.
Reality: Dev becomes upper management.