News Feed
Sections




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

Evert Pot's Blog:
Filesystem encoding and PHP
April 21, 2010 @ 12:19:39

Evert Pot has a new post to his blog about working with files in your applications, more specifically in dealing with filesystem encodings other than some of the defaults.

Many PHP applications save files to a local filesystem. Most of the times for the bulk of readers here you'll likely only ever store files using US-ASCII encoding, either because your filenames are simply based on database fields (as you should try in most cases), or simply because most of your users never have a need for non-english characters. When you do though, it's important to know how operating systems cope with these characters. Unsurprising, all of them do this differently.

He talks about encoding issues in three major operating system types - Windows, OS X and Linux - with some code snippets included to illustrate how each handles the different encodings.

4 comments voice your opinion now!
filesystem encoding osx linux windows


blog comments powered by Disqus

Similar Posts

Raphael Stolt's Blog: Installing the PHP redis extension on Mac OS X

SitePoint.com: The Easy Way To Install PHP on Windows

Christopher Jones' Blog: PHP 5.2.5 RPMs with OCI8 and PDO_OCI are available

Gyorgy Fekete's Blog: Web Development in Mac OS X - Complete Guide

Jim Plush's Blog: Fix when compiling the Redis php extension on OSX - mach-o, but wrong architecture


Community Events





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


podcast bugfix development tips framework list zendserver threedevsandamaybe interview api series release introduction code community laravel symfony language deployment voicesoftheelephpant

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