utf 8

Create your own framework... on top of the Symfony2 Components (...

Planet PHP  Wed, 01/25/2012 - 00:39

This article is part of a series of articles that explains how to create a framework with the Symfony2 Components: 1, 2, 3,


 

Escaping MySQL strings with no connection available - Evert Pot

Planet PHP  Mon, 04/18/2011 - 14:30

We're all being drilled over and over again to always use mysqli::escape_string, PDO::quote, or preferably prepared statements when escaping user-supplied strings for use in MySQL queries.


 

Mind the encodings! - Johannes Schlüter

Planet PHP  Sat, 03/27/2010 - 19:31

Dealing with character sets and encodings is tough. As long as you're dealing only with English texts you in a luxury situation and can mix utf-8 and iso-8859-1 encoded texts and most (all?) of your tests will work.

Some of your users, like me, with strange names ("Schlüter") will be annoyed as your application breaks them ("Schlüter"), but these will be edge cases.

There are bigger issues with mixing encodings but that's not what I wanted to tell now.


 

Phil Sturgeon's Blog: UTF-8 support for CodeIgniter

PHPDeveloper.org  Wed, 08/19/2009 - 08:34

Phil Sturgeon has posted a quick guide on working with UTF-8 support in the CodeIgniter framework.


 

Pablo Viquez's Blog: JSON, ISO 8859-1 and UTF-8 - Part

PHPDeveloper.org  Mon, 07/20/2009 - 11:42

After spotting some null values in a few of his form fields following an Ajax request, Pablo Viquez decided to track down his issue: