| |||||||||||||||
'Around_the_Moon'_by_Bayard_and_Neuville | |||||||||||||||
Posted: 31 Dec 2010 04:00 PM PST | |||||||||||||||
Zhengzong-Huajiang-Li-jia-gourou-dian
| |||||||||||||||
If you’re creating HTML, SGML, and XML directly, perhaps using a text editor or writing a program, always use “decimal numeric character references” for curling single and double quote characters (these marks are called “smart quotes,” “curly quotes,” “curled quotes,” “curling quotes,” or “curved quotes”). In other words, for left and right double quotation marks, use “ and ” - and for left and right single quotation marks (and apostrophes), use ‘ and ’ - and you’ll be glad you did. This approach complies with all international standards, and works essentially everywhere. Here’s a table showing what I mean.
By doing this, your text will look good on a very wide variety of browsers and viewers, and you can easily cut-and-paste portions of data between HTML, SGML, and XML documents (letting you dynamically query and create new material from existing material, without having to deal with the complexities of translating between character sets). RationaleThere are many advantages to this particular recommendation. These are the official, standard, vendor-neutral encodings for these characters according to both Unicode and ISO-10646, so you don’t need to worry about them not working in the future. They also work across XML, HTML, and SGML, simplifying data extraction - alternatives such as named character entity references do not easily work across XML and HTML (in particular). Systems which can display curling quotes (with the current fonts) will do so, and practically without exception will gracefully go back to neutral (vertical) characters if they can’t - even if they’re a somewhat old browser. I’ve tested this approach on several versions of Internet Explorer, Netscape (the old 4.5 and 6.X), Mozilla (0.9.9 and 1.0), and lynx (a text browser), on a variety of systems (Windows, Linux, Sun Solaris). The one minor problem is that on some older X windows systems with old fonts, the left single quotation mark may get mapped to a character that is an angled character for the right single quotation mark - but it doesn’t look bad, the alternatives look far worse everywhere else, and this solution is “future-proof”. Do not use the various alternatives:
|
“YouWeirdTube (3) Inbox [youweirdtube] Dogmeat Wordnik Jan 4 Gaejang Guk Inbox dogshit 12/31/10 me Inbox 18 17 12/31/10 me Inbox DOGMEAT: “Helmut Newton + Arnold Schwarzenegger Makes out with Stripper” plus 17 more 12/30/10 me Inbox 20 19 12/26/10 me Inbox DOGMEAT: “John Wayne Gacy: Serial Killer Clown Christmas Recipes and Me” plus 13 more 12/25/10 Subscriptions from Poste. Inbox Your Weekly Posterous Subscriptions 12/20/10 me, Posterous (2) Inbox all dog people sum it up and pics 800px-Doggirl_now_and_forever.jpg (image/jpeg) 131K Attachment 12/19/10 Dogmeat (via Posterous) [whatgetsmehot] Facebook tells you in which category your preferences fall! 12/17/10 sobache myaso Inbox all new stuff from see ya and all likes from old wgmh facebook page etc 12/17/10 me Inbox DOGMEAT: John Lennon est mort...John Lennon is dead plus 7 more$ {n} new items) 12/9/10 Dogmeat (via Posterou. (4) Untitled (to mrjyngm@gmail.com) 12/9/10 Dogmeat (via Posterou. (4) Untitled (to cynophagie@gmail.com) 12/9/10 Dogmeat (via Posterous) - http://www.in-vacua.com/cgi-bin/Noumena1.pl (to mrjyngm@gmail.com) 12/9/10 Dogmeat (via Posterous) - http://www.in-vacua.com/cgi-bin/Noumena1.pl (to cynophagie@gmail.com) 12/9/10 Dogmeat (via Posterous) *Charles Dickens (video) Christmas Carol (with Martians) *If Charles Dickens had been G... 12/9/10 Dogmeat (via Posterous) *Charles Dickens (video) Christmas Carol (with Martians) *If Charles Dickens had been G... 12/9/10 Subscriptions from Po. (2) Inbox Your Daily Posterous Subscriptions 12/5/10 Dogmeat (via Posterous) Facebook | Jay Alan Davis (happy birthday, old son) 12/2/10 me Inbox youtube uploads cyno 12/2/10 Docs and Sites 1 - 10 of about 32 Next › me 2. Is a Dog a Spouse to Human Beings? KOREANS and DOG MEAT 9/10/10 me (video + mp3) See Crazy Vuvuzela-Vutalela Father Blow Baby with I 7/2/10 me Posterous everything: Explore other people like you search for th 10/11/10 me This page contains material which is kept because it is... 7/9/10 me Oddee.com: 12 Funniest Toilet Paper Holders 8/29/10 me Copy of variant of template with reenie beanie Jan 3 me http://translate.google.com/?hl=en&sl=fr&tl=en&sugg=w&hints=t... 9/15/10 me Funky Orizont (Moldovan Funk Culture Series Part Best) http://pos 8/29/10 me Top 100 Controversial-Most Viewed Wikipedia Commons Photos-Pages 7/2/10 me Run-Up Canings 7/1/10”
http://whatgetsmehot.posterous.com/pepa-ate-dogmeat-best-eating-dogmeat-video-ev “Pepa ate Dogmeat” ‹—› «Best — ‘eating dogmeat’ » “ story ‘video’ EVER!„ „ and ‘ Dogmeat ’ Best-of Dogmeat Photos„ ” „ Blackdog http://whatgetsmehot.posterous.com/blackdog Anoniem http://whatgetsmeho ... Dogmeat