News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

James Cohen's Blog:
How to Avoid Character Encoding Problems in PHP
April 25, 2011 @ 14:13:14

James Cohen has a recent post to his blog looking at a way you can avoid some of the character encoding problems in PHP that can come with working with multiple character sets.

Character sets can be confusing at the best of times. This post aims to explain the potential problems and suggest solutions. Although this is applied to PHP and a typical LAMP stack you can apply the same principles to any multi-tier stack.

He includes a "boring history" session (and recommends skipping if you just want the good stuff) that talks a bit about character sets and their history in computer system handling. All that said, he recommends using UTF-8 to ease your character encoding woes. He talks about configuring your editor to support it, making sure your browsers understand it and setting up your MySQL database connection to use it.

0 comments voice your opinion now!
character encoding issue mysql browser editor ide


blog comments powered by Disqus

Similar Posts

Edin Kadribasic's Blog: PHP 4.4.3 for Windows with 5.0.22 MySQL libraries

Builder.com.au: Getting started with Delphi for PHP

Tecmint.com: Install Apache, MySQL 5.5.27 & PHP 5.4.7 on RHEL/CentOS 6.3/5.6 & Fedora 17-12

DevShed: Building a Search Engine with MySQL and PHP 5

Laura Thomson\'s Blog: Conference roundup


Community Events





Don't see your event here?
Let us know!


experience series testing code podcast release opinion language unittest developer threedevsandamaybe list interview refactor laravel configure introduction community install framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework