Monthly Archives: August 2007

A free school revolution idea

Back in 2003, with CreaLabs we started the e-Socrates project, creating the first Italian portal promoting the free e-learning philosophy, because we truly believe that knowledge must be free. Some days ago Simone Brunozzi told me about an idea he was working on, a community made by students and teachers, together creating documentation that would [...]

Another PHP UTF-8 problem: htmlentities, htmlspecialchars and html_entity_decode

htmlentities, htmlspecialchars and html_entity_decode have 3 parameters: string to be converted quote_style charset but charset default is ISO-8859-1 and there’s no way to change that default, what happens if you’re porting 1,000,000 lines of code from ISO-8859-1 to UTF-8? you’ve to wrap those functions or patch every call passing all the 3 params. All these [...]