UTF-8

warning: Creating default object from empty value in /home/cvickery/drupal-6.19/modules/taxonomy/taxonomy.pages.inc on line 34.

PHP and CSV files

If you have ever tried to use PHP to process CSV files that contain non-ASCII characters, you know there is a problem out there with lots of solutions that may or may not work. Mostly the latter from what I can tell. Herewith some comments from a PHP command line program that I use to populate a PostgreSQL table with data derived from a spreadsheet.

This is all command-line stuff under OS X.

Syndicate content