KBD

Keith Devens .com

Thursday, May 17, 2012 Flag waving
Make the most of your regrets; never smother your sorrow, but tend and cherish it till it comes to have... – Henry David Thoreau
← So many must-read things todayTrue believers, fence-sitters, and skeptics →

Daily link icon Tuesday, May 11, 2004

Getting my content under-control (charsets, structuredtext, content-type: xml, language, etc.)

Thanks to Phil and Simon, I'm going to be getting my content under control, where "under control" means everything in UTF-8 (plus all old posts upgraded to StructuredText). I've just switched my page encoding to UTF-8 specified in my HTML meta tag, but I also have to switch the HTTP Content-type charset attribute, make sure my language is specified correctly, and serve my pages as text/xml (er, application/xhtml+xml) instead of text/html.

Resources:

← So many must-read things todayTrue believers, fence-sitters, and skeptics →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

May 2012
SunMonTueWedThuFriSat
 12345
6789101112
13141516171819
20212223242526
2728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

new⇒Acknowledging the Arrival of Peak Government

In many ways, Peak Oil is​responsible for this new​uselessness of the big g...

Revence: May 16, 6:35am

new⇒Tab EXSPLOSION

Right now, I, too, have too many​tabs open. A rough count says​25.
Right. ...

Revence: May 16, 6:21am

George W. Bush: ‘I’m for Mitt Romney’ - ABC News

A marked difference (departure,​even) from the KBD of eight--yea,​even four...

Revence: May 15, 1:55pm

WebOb — WSGI request and response objects

Google App Engine forces one to​learn these....

Revence: May 15, 1:52pm

Generated in about 0.233s.

(Used 8 db queries)