News Feed
Sections




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

SitePoint PHP Blog:
Hot PHP UTF-8 tips
August 10, 2006 @ 14:50:03

Following up on some of his previous posts to the SitePoint PHP Blog, Harry Fuecks has posted this quick guide with some "hot UTF-8 tips" to share with the community.

As a result of all the noise about UTF-8, got an email from Marek Gayer with some very smart tips on handling UTF-8. What follows is a discussion illustrating what happens when you get obsessed with performance and optimizations (be warned - may be boring, depending on your perspective).

He talks mainly about using the native PHP functionality to avoid the mbstring issues that could arise by restricting locale behavior and using a fast case conversion function to handle strings correctly. The other tip involves delivery methods to those not able to recieve UTF-8 formatted content - checking their character set and responding accordingly.

0 comments voice your opinion now!
utf8 tips mbstring native locale behavior case conversion character set utf8 tips mbstring native locale behavior case conversion character set


blog comments powered by Disqus

Similar Posts

Elliot Haughin's Blog: Building UTF8 Compatible CodeIgniter Applications

Felix Geisendorfer's Blog: Enforce utf8 for multiple db connections

DevShed: Handling MySQL Data Set Failures in PHP 5

Symbiotix.net: Wherein We Muse Over a Case Study of a One Day Wordpress-to-Drupal Conversion

DZone.com: 2 years of Vim and PHP distilled


Community Events





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


api opinion podcast series package install deployment laravel interview community framework voicesoftheelephpant language tips symfony list bugfix introduction library release

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