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

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

While I was looking at some AJAX calls, I started to have a problem, for some reason, when I tried to query a JSON service I did using JQuery, the result was null for some fields.

Going a little deeper, I notice that the records from the DB were OK, and the JavaScript was...


 

More related items

Lorna Mitchell's Blog: Building A RESTful PHP Server:...
Lorna Mitchell is back with another post in her "Building a RESTful PHP Server" series today with this new post showing how to work with output handlers (her focus is on JSON). So far...

Create your own framework... on top of the Symfony2...
This article is part of a series of articles that explains how to create a framework with the Symfony2 Components: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,

Create your own framework... on top of the Symfony2...
Before we start with today's topic, let's refactor our current framework just a little to make templates even more readable: <?php   // example.com/web/front.php   require_once...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com