KBD

Keith Devens .com

Tuesday, February 9, 2010 Flag waving
"Why teach drawing to accountants? Because drawing class doesn't just teach people to draw. It teaches them to be... – Randy S. Nelson (dean of Pixar University)
← The New Criterion — Buckley at the beginningTutorial on Good Lisp Programming Style | Lambda the Ultimate →

Daily link icon Friday, November 4, 2005

Sam Ruby: Sometimes the dragon wins

Sam Ruby: Sometimes the dragon wins. Not here: ɥɦɐ. And you can search for it.

My dirty little secret, however, is that I'm storing everything in MySQL in fields declared to be encoded in latin1, storing UTF-8 in there anyway, and trusting the browser to get Unicode right. I've tried storing everything in Unicode-encoded fields in MySQL, but it mangled some of the rarer characters when I tried to convert this post once my host upgraded to MySQL 4.0 or 4.1 (whichever one first supported Unicode fields). Some characters worked, some didn't. My only guess is that MySQL only handled an older version of Unicode and stripped everything it didn't understand.

← The New Criterion — Buckley at the beginningTutorial on Good Lisp Programming Style | Lambda the Ultimate →

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)
:

February 2010
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28 



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

Recent comments XML

new⇒Why does Visual Studio suck ASS?

Look at '#pragma once' to get files​included only once....

Thomas Minor: Feb 8, 1:19pm

Generated in about 0.201s.

(Used 8 db queries)