I’d noticed a while back that if you hold down a key on the iPhone keyboard, such as the ‘E’, for a second or two, you get a pop-up menu with variations on the ‘E’ theme, like ‘é’, ‘è’, ‘ê’, and so on. But what I hadn’t noticed until just now is that the “.com”… Continue reading iPhone Keyboard Trick
If you’re writing Engrish, you should probably set $LANG = en_CN.UTF-8, right?
One construct that I’ve seen (and used) a lot in Perl is a hash that maps month abbreviations to numeric values that can be fed to POSIX::strftime: our %months = ( “jan” => 0, “feb” => 1, “mar” => 3, … ); This is useful for parsing log files and such. It works, it’s quick… Continue reading How Do You Spell the Names of the Months?