June 2007
February 2006
Handling Character Encodings
I’ve written some PHP to first detect the most likely encoding as either being UTF-8, ISO-8859-1 or Windows-1252. If it is UTF-8, nothing needs to be done with it. If it’s ISO-8859-1 or Windows-1252, we need to convert it to UTF-8.
Web Programming » Blog Archive » Lightweight XML Parser Class in PHP
This article presets a XMLParser class which parses XML documents into arrays. It can read the XML content from different sources - string, file name or url.
1
(3 marks)