Archive for April, 2012

PHP’s APC – Don’t back yourself into a corner

We heavily rely on running multiple instances of code where I work. At any given time several of us have several copies/branches of the site code configured to run from various spots on our development server.A path we have gone down with APC's user variable caching is merely one of...
Read More

MySQL – multibyte cheat sheet for conditionals

This is basically a short cheat sheet to launch some ideas for comparisons/matching with multibyte characters.Connection collation of utf8_unicode_ci and charset of utf8 - Table + data and server: [crayon-5b4cfb1534609279119441/][crayon-5b4cfb1534610725227674/][crayon-5b4cfb1534613654280926/][crayon-5b4cfb1534614886136165/]Check out the behavior of the following queries:[crayon-5b4cfb1534617925874761/][crayon-5b4cfb1534618367830011/]Other resources:MySQL's character sets and collations demystifiedMySQL charset documentationCharsets and joins (good gotcha to...
Read More