Latin1 was the early default character set for encoding documents delivered via HTTP for MIME types beginning with /text . Today, only around only 1.1% of websites on the internet use the encoding, along with some older appplications. However, it is still the most popular single-byte character encoding scheme in use today. A funny thing about Latin1 encoding is that it maps every byte from 0 to 255 to a valid character. This means that literally any sequence of bytes can be interpreted as a valid string. The main drawback is that it only supports characters from Western European languages. The same is not true for UTF8. Unlike Latin1, UTF8 supports a vastly broader range of characters from different languages and scripts. But as a consequence, not every byte sequence is valid. This fact is due to UTF8's added complexity, using multi-byte sequences for characters beyond the general ASCII range. This is also why you can't just throw any sequence of bytes at it and e...
Today, while updating Windows virtual machines for Patch Tuesday, I found myself re-reading Ben Franklin's autobiography.
Two fun excerpts:
At my first admission into this printing-house I took to working at press, imagining I felt a want of the bodily exercise I had been us'd to in America, where presswork is mix'd with composing. I drank only water; the other workmen, near fifty in number, were great guzzlers of beer. On occasion, I carried up and down stairs a large form of types in each hand, when others carried but one in both hands. They wondered to see, from this and several instances, that the Water-American, as they called me, was stronger than themselves, who drank strong beer! We had an alehouse boy who attended always in the house to supply the workmen. My companion at the press drank every day a pint before breakfast, a pint at breakfast with his bread and cheese, a pint between breakfast and dinner, a pint at dinner, a pint in the afternoon about six o'clock, and another when he had done his day's work. I thought it a detestable custom; but it was necessary, he suppos'd, to drink strong beer, that he might be strong to labour. I endeavoured to convince him that the bodily strength afforded by beer could only be in proportion to the grain or flour of the barley dissolved in the water of which it was made; that there was more flour in a pennyworth of bread; and therefore, if he would eat that with a pint of water, it would give him more strength than a quart of beer. He drank on, however, and had four or five shillings to pay out of his wages every Saturday night for that muddling liquor; an expense I was free from. And thus these poor devils keep themselves always under.
In the excerpt below, Ben Franklin recounts teaching others at the printing house how to swim—as well as leaping into the river in front of visitors at the college and coffee shop, surprising onlookers:
At Watts's printing-house I contracted an acquaintance with an ingenious young man, one Wygate, who, having wealthy relations, had been better educated than most printers; was a tolerable Latinist, spoke French, and lov'd reading. I taught him and a friend of his to swim at twice going into the river, and they soon became good swimmers. They introduc'd me to some gentlemen from the country, who went to Chelsea by water to see the College and Don Saltero's curiosities. In our return, at the request of the company, whose curiosity Wygate had excited, I stripped and leaped into the river, and swam from near Chelsea to Blackfriar's, performing on the way many feats of activity, both upon and under water, that surpris'd and pleas'd those to whom they were novelties.
Comments
Post a Comment